patch-2.1.37 linux/ipc/sem.c

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

diff -u --recursive --new-file v2.1.36/linux/ipc/sem.c linux/ipc/sem.c
@@ -40,6 +40,7 @@
 #include <linux/malloc.h>
 #include <linux/smp.h>
 #include <linux/smp_lock.h>
+#include <linux/init.h>
 
 #include <asm/uaccess.h>
 
@@ -55,7 +56,7 @@
 
 static unsigned short sem_seq = 0;
 
-void sem_init (void)
+__initfunc(void sem_init (void))
 {
 	int i;
 

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