ipc: use device_initcall
authorDavidlohr Bueso <davidlohr@hp.com>
Mon, 7 Apr 2014 22:39:18 +0000 (15:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:36:11 +0000 (16:36 -0700)
... since __initcall is now deprecated.

Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/ipc_sysctl.c
ipc/mqueue.c
ipc/util.c

index 17028648cfeb05fc4b76470ca343cd069a11bb02..998d31b230f1068678be01fa49248ea4e3fd693e 100644 (file)
@@ -281,4 +281,4 @@ static int __init ipc_sysctl_init(void)
        return 0;
 }
 
-__initcall(ipc_sysctl_init);
+device_initcall(ipc_sysctl_init);
index c3b31179122c326342597d40cd58db11d51da940..4fcf39af17768345be5f60e08e44af14b14bad76 100644 (file)
@@ -1459,4 +1459,4 @@ out_sysctl:
        return error;
 }
 
-__initcall(init_mqueue_fs);
+device_initcall(init_mqueue_fs);
index e1b4c6db8aa042d2a896426391b10af913ac7b4f..2eb0d1eaa312d9e0deda1faec271ea3bf55f8180 100644 (file)
@@ -128,7 +128,7 @@ static int __init ipc_init(void)
        register_ipcns_notifier(&init_ipc_ns);
        return 0;
 }
-__initcall(ipc_init);
+device_initcall(ipc_init);
 
 /**
  * ipc_init_ids        - initialise ipc identifiers