Commit 6d08a256 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Linus Torvalds

ipc: use device_initcall

... since __initcall is now deprecated.
Signed-off-by: default avatarDavidlohr Bueso <davidlohr@hp.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 187841a8
......@@ -281,4 +281,4 @@ static int __init ipc_sysctl_init(void)
return 0;
}
__initcall(ipc_sysctl_init);
device_initcall(ipc_sysctl_init);
......@@ -1459,4 +1459,4 @@ static int __init init_mqueue_fs(void)
return error;
}
__initcall(init_mqueue_fs);
device_initcall(init_mqueue_fs);
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment