diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index 17028648cfeb05fc4b76470ca343cd069a11bb02..998d31b230f1068678be01fa49248ea4e3fd693e 100644 --- a/ipc/ipc_sysctl.c +++ b/ipc/ipc_sysctl.c @@ -281,4 +281,4 @@ static int __init ipc_sysctl_init(void) return 0; } -__initcall(ipc_sysctl_init); +device_initcall(ipc_sysctl_init); diff --git a/ipc/mqueue.c b/ipc/mqueue.c index c3b31179122c326342597d40cd58db11d51da940..4fcf39af17768345be5f60e08e44af14b14bad76 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -1459,4 +1459,4 @@ static int __init init_mqueue_fs(void) return error; } -__initcall(init_mqueue_fs); +device_initcall(init_mqueue_fs); diff --git a/ipc/util.c b/ipc/util.c index e1b4c6db8aa042d2a896426391b10af913ac7b4f..2eb0d1eaa312d9e0deda1faec271ea3bf55f8180 100644 --- a/ipc/util.c +++ b/ipc/util.c @@ -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