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

Vojtech Pavlik (vojtech@suse.cz)
Thu, 13 Sep 2001 18:42:55 +0200


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/