patch-2.3.99-pre7 linux/kernel/signal.c
Next file: linux/kernel/timer.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/kernel/signal.c
- Orig date:
Mon Mar 27 08:08:32 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/kernel/signal.c linux/kernel/signal.c
@@ -6,6 +6,7 @@
* 1997-11-02 Modified for POSIX.1b signals by Richard Henderson
*/
+#include <linux/config.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/unistd.h>
@@ -386,7 +387,7 @@
sigaddset(&t->signal, sig);
if (!sigismember(&t->blocked, sig)) {
t->sigpending = 1;
-#ifdef __SMP__
+#ifdef CONFIG_SMP
/*
* If the task is running on a different CPU
* force a reschedule on the other CPU - note that
@@ -403,7 +404,7 @@
if (t->has_cpu && t->processor != smp_processor_id())
smp_send_reschedule(t->processor);
spin_unlock(&runqueue_lock);
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
}
out:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)