projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ca230b
)
x86-64, NUMA: Put dummy_numa_init() in the init section
author
Yinghai Lu
<yinghai@kernel.org>
Thu, 17 Feb 2011 13:53:20 +0000
(14:53 +0100)
committer
Tejun Heo
<tj@kernel.org>
Thu, 17 Feb 2011 14:04:20 +0000
(15:04 +0100)
dummy_numa_init() is used only during system boot. Put it in .init
like other NUMA init functions.
- tj: Description update.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/mm/numa_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/numa_64.c
b/arch/x86/mm/numa_64.c
index 1bd6de4aa7146b89fef7a4500e2caf527e94cea3..f6d85e38047131ca3778c08adbbf88cc1e901e02 100644
(file)
--- a/
arch/x86/mm/numa_64.c
+++ b/
arch/x86/mm/numa_64.c
@@
-899,7
+899,7
@@
static bool __init numa_emulation(void)
}
#endif /* CONFIG_NUMA_EMU */
-static int dummy_numa_init(void)
+static int
__init
dummy_numa_init(void)
{
printk(KERN_INFO "%s\n",
numa_off ? "NUMA turned off" : "No NUMA configuration found");