patch-2.1.118 linux/kernel/signal.c

Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.117/linux/kernel/signal.c linux/kernel/signal.c
@@ -18,6 +18,7 @@
 #include <linux/smp.h>
 #include <linux/smp_lock.h>
 #include <linux/slab.h>
+#include <linux/init.h>
 
 #include <asm/uaccess.h>
 
@@ -38,8 +39,7 @@
 static int nr_queued_signals;
 static int max_queued_signals = 1024;
 
-void
-signals_init(void)
+void __init signals_init(void)
 {
 	signal_queue_cachep =
 		kmem_cache_create("signal_queue",

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov