summaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/util.c')
-rw-r--r--ipc/util.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ipc/util.c b/ipc/util.c
index c7933273a..7cb2f24dd 100644
--- a/ipc/util.c
+++ b/ipc/util.c
@@ -24,7 +24,7 @@
extern void sem_init (void), msg_init (void), shm_init (void);
-__initfunc(void ipc_init (void))
+void __init ipc_init (void)
{
sem_init();
msg_init();
@@ -125,4 +125,8 @@ asmlinkage int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
return -ENOSYS;
}
+void shm_unuse(unsigned long entry, unsigned long page)
+{
+}
+
#endif /* CONFIG_SYSVIPC */