[patch] md.c

From: Thorsten Kranzkowski (th@Marvin.DL8BCU.ampr.org)
Date: Thu Jun 08 2000 - 18:49:25 EST


Still not included in -ac11

sys_setsid() is defined long in asm/unistd.h for alpha and arm. It's also
long in kernel/sys.c

#undef doesn't accept second argument

Bye,
Thorsten

diff -ur linux-2.4.0-test1-ac4/drivers/block/md.c linux-2.4.0-test1-ac4-work/drivers/block/md.c
--- linux-2.4.0-test1-ac4/drivers/block/md.c Thu May 25 01:38:26 2000
+++ linux-2.4.0-test1-ac4-work/drivers/block/md.c Thu May 25 23:11:22 2000
@@ -43,7 +43,7 @@
 #include <asm/unaligned.h>
 
 extern asmlinkage int sys_sched_yield(void);
-extern asmlinkage int sys_setsid(void);
+extern asmlinkage long sys_setsid(void);
 
 #define MAJOR_NR MD_MAJOR
 #define MD_DRIVER
@@ -1010,7 +1010,7 @@
 skip:
         return 0;
 }
-#undef GETBLK_FAILED KERN_ERR
+#undef GETBLK_FAILED
 
 static void set_this_disk(mddev_t *mddev, mdk_rdev_t *rdev)
 {

-- 
| Thorsten Kranzkowski        Internet: dl8bcu@gmx.net                        |
| Mobile: ++49 170 1876134       Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:16 EST