projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a85d9df
)
arch/x86/mm/numa.c: initialize numa_kernel_nodes in numa_clear_kernel_node_hotplug()
author
Tang Chen
<
[email protected]
>
Thu, 6 Feb 2014 20:04:25 +0000
(12:04 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 6 Feb 2014 21:48:51 +0000
(13:48 -0800)
On-stack variable numa_kernel_nodes in numa_clear_kernel_node_hotplug()
was not initialized. So we need to initialize it.
[
[email protected]
: use NODE_MASK_NONE, per David]
Signed-off-by: Tang Chen <
[email protected]
>
Tested-by: Gu Zheng <
[email protected]
>
Reported-by: Dave Jones <
[email protected]
>
Reported-by: David Rientjes <
[email protected]
>
Tested-by: Dave Jones <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: "H. Peter Anvin" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86/mm/numa.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/numa.c
b/arch/x86/mm/numa.c
index 81b2750f3666f16d7a42e0699d8dc458530fd7b8..45ec9d72b6dd9bc00f8de826cb4097930543a3b7 100644
(file)
--- a/
arch/x86/mm/numa.c
+++ b/
arch/x86/mm/numa.c
@@
-565,7
+565,7
@@
static void __init numa_init_array(void)
static void __init numa_clear_kernel_node_hotplug(void)
{
int i, nid;
- nodemask_t numa_kernel_nodes;
+ nodemask_t numa_kernel_nodes
= NODE_MASK_NONE
;
unsigned long start, end;
struct memblock_type *type = &memblock.reserved;