[x86-64 patch 9/11] MD (raid) needs pid_t

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Thu Sep 13 2001 - 11:42:55 EST


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/



This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:41 EST