patch-2.1.37 linux/ipc/util.c

Next file: linux/kernel/exit.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/ipc/util.c linux/ipc/util.c
@@ -11,6 +11,7 @@
 #include <linux/msg.h>
 #include <linux/shm.h>
 #include <linux/stat.h>
+#include <linux/init.h>
 
 #include <asm/uaccess.h>
 
@@ -18,7 +19,7 @@
 
 extern void sem_init (void), msg_init (void), shm_init (void);
 
-void ipc_init (void)
+__initfunc(void ipc_init (void))
 {
 	sem_init();
 	msg_init();

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