* [x86-64 patch 9/11] MD (raid) needs pid_t
@ 2001-09-13 16:42 Vojtech Pavlik
0 siblings, 0 replies; only message in thread
From: Vojtech Pavlik @ 2001-09-13 16:42 UTC (permalink / raw)
To: torvalds
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-09-13 16:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-13 16:42 [x86-64 patch 9/11] MD (raid) needs pid_t Vojtech Pavlik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).