summaryrefslogtreecommitdiffstats
path: root/ipc/msg.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
commitd8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch)
tree3067bc130b80d52808e6390c9fc7fc087ec1e33c /ipc/msg.c
parent19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff)
Initial revision
Diffstat (limited to 'ipc/msg.c')
-rw-r--r--ipc/msg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/msg.c b/ipc/msg.c
index fcef8357f..49d8f043f 100644
--- a/ipc/msg.c
+++ b/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_msqid = -1;
static int kerneld_arr[MAX_KERNELDS];
static int n_kernelds = 0;
-void msg_init (void)
+__initfunc(void msg_init (void))
{
int id;