mtd/drivers/mtd mtd_blkdevs-24.c,1.8,1.9 mtdcore.c,1.38,1.39 mtdpart.c,1.38,1.39 Makefile-2.4,1.1,NONE Makefile-2.5,1.1,NONE initcalls.c,1.3,NONE

David Woodhouse dwmw2 at infradead.org
Wed May 21 11:15:36 EDT 2003


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv26797/drivers/mtd

Modified Files:
	mtd_blkdevs-24.c mtdcore.c mtdpart.c 
Removed Files:
	Makefile-2.4 Makefile-2.5 initcalls.c 
Log Message:
include cleanups

Index: mtd_blkdevs-24.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtd_blkdevs-24.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mtd_blkdevs-24.c	21 May 2003 08:03:42 -0000	1.8
+++ mtd_blkdevs-24.c	21 May 2003 15:15:03 -0000	1.9
@@ -122,11 +122,17 @@
 	   actually want to deal with signals. We can't just call 
 	   exit_sighand() since that'll cause an oops when we finally
 	   do exit. */
+#if 0
 	spin_lock_irq(&current->sigmask_lock);
 	sigfillset(&current->blocked);
 	recalc_sigpending(current);
 	spin_unlock_irq(&current->sigmask_lock);
-
+#else
+	spin_lock_irq(&current->sighand->siglock);
+	sigfillset(&current->blocked);
+	recalc_sigpending();
+	spin_unlock_irq(&current->sighand->siglock);
+#endif
 	daemonize();
 
 	while (!tr->blkcore_priv->exiting) {

Index: mtdcore.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdcore.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- mtdcore.c	21 May 2003 09:58:13 -0000	1.38
+++ mtdcore.c	21 May 2003 15:15:03 -0000	1.39
@@ -18,6 +18,7 @@
 #include <linux/fs.h>
 #include <linux/ioctl.h>
 #include <linux/init.h>
+#include <linux/mtd/compatmac.h>
 #ifdef CONFIG_PROC_FS
 #include <linux/proc_fs.h>
 #endif

Index: mtdpart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdpart.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- mtdpart.c	17 May 2003 00:26:39 -0000	1.38
+++ mtdpart.c	21 May 2003 15:15:03 -0000	1.39
@@ -20,7 +20,7 @@
 #include <linux/kmod.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
-
+#include <linux/mtd/compatmac.h>
 
 /* Our partition linked list */
 static LIST_HEAD(mtd_partitions);

--- Makefile-2.4 DELETED ---

--- Makefile-2.5 DELETED ---

--- initcalls.c DELETED ---




More information about the linux-mtd-cvs mailing list