X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ipc%2Fshm.c;h=02ecf2c078fce9b62ee2b1ec0ef252c0320acdf5;hb=11da3764a7b413c4e66138bd7bdb5bacd11617a6;hp=b5bae9d945b62103ad8924ecf17dee8ee18a728c;hpb=0b576372e86c8e6bee01506651b21ec0fe8a1698;p=pandora-kernel.git diff --git a/ipc/shm.c b/ipc/shm.c index b5bae9d945b6..02ecf2c078fc 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -105,9 +105,16 @@ void shm_exit_ns(struct ipc_namespace *ns) } #endif -void __init shm_init (void) +static int __init ipc_ns_init(void) { shm_init_ns(&init_ipc_ns); + return 0; +} + +pure_initcall(ipc_ns_init); + +void __init shm_init (void) +{ ipc_init_proc_interface("sysvipc/shm", #if BITS_PER_LONG <= 32 " key shmid perms size cpid lpid nattch uid gid cuid cgid atime dtime ctime rss swap\n",