mtd/drivers/mtd mtd_blkdevs-24.c,1.15,1.16
dmarlin at infradead.org
dmarlin at infradead.org
Wed Aug 11 11:29:27 EDT 2004
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv29531/drivers/mtd
Modified Files:
mtd_blkdevs-24.c
Log Message:
Make it build for 2.4 kernels again.
Index: mtd_blkdevs-24.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtd_blkdevs-24.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- mtd_blkdevs-24.c 10 Oct 2003 08:55:03 -0000 1.15
+++ mtd_blkdevs-24.c 11 Aug 2004 15:29:24 -0000 1.16
@@ -124,19 +124,12 @@
actually want to deal with signals. We can't just call
exit_sighand() since that'll cause an oops when we finally
do exit. */
-
-#ifndef __rh_config_h__ /* HAVE_NPTL */
spin_lock_irq(¤t->sigmask_lock);
sigfillset(¤t->blocked);
- recalc_sigpending(current);
- spin_unlock_irq(¤t->sigmask_lock);
-#else
- spin_lock_irq(¤t->sighand->siglock);
- sigfillset(¤t->blocked);
recalc_sigpending();
- spin_unlock_irq(¤t->sighand->siglock);
-#endif
- daemonize();
+ spin_unlock_irq(¤t->sigmask_lock);
+
+ daemonize("%sd", tr->name);
while (!tr->blkcore_priv->exiting) {
struct request *req;
More information about the linux-mtd-cvs
mailing list