mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:20:53 +07:00
ipc: use device_initcall
... 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>
This commit is contained in:
parent
187841a800
commit
6d08a2567c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user