lkml.org 
[lkml]   [2001]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[x86-64 patch 9/11] MD (raid) needs pid_t
Hi!

On some architectures (including x86-64) pid_t isn't exactly 'long'. So
it matters to have it correct.

diff -urN linux-x86_64/drivers/md/md.c linux/drivers/md/md.c
--- linux-x86_64/drivers/md/md.c Thu Aug 23 18:14:46 2001
+++ linux/drivers/md/md.c Wed Sep 12 22:36:09 2001
@@ -47,7 +47,7 @@
#include <asm/unaligned.h>

extern asmlinkage int sys_sched_yield(void);
-extern asmlinkage long sys_setsid(void);
+extern asmlinkage pid_t sys_setsid(void);

#define MAJOR_NR MD_MAJOR
#define MD_DRIVER
--
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.025 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site