patch-2.1.37 linux/ipc/msg.c

Next file: linux/ipc/sem.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/ipc/msg.c linux/ipc/msg.c
@@ -17,6 +17,7 @@
 #include <linux/interrupt.h>
 #include <linux/smp.h>
 #include <linux/smp_lock.h>
+#include <linux/init.h>
 
 #include <asm/uaccess.h>
 
@@ -39,7 +40,7 @@
 static int kerneld_arr[MAX_KERNELDS];
 static int n_kernelds = 0;
 
-void msg_init (void)
+__initfunc(void msg_init (void))
 {
 	int id;
 	

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