Skip to content
Commit 017c217a authored by Tang Chen's avatar Tang Chen Committed by Linus Torvalds
Browse files

arch/x86/mm/numa.c: initialize numa_kernel_nodes in numa_clear_kernel_node_hotplug()



On-stack variable numa_kernel_nodes in numa_clear_kernel_node_hotplug()
was not initialized.  So we need to initialize it.

[akpm@linux-foundation.org: use NODE_MASK_NONE, per David]
Signed-off-by: default avatarTang Chen <tangchen@cn.fujitsu.com>
Tested-by: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Reported-by: default avatarDave Jones <davej@redhat.com>
Reported-by: default avatarDavid Rientjes <rientjes@google.com>
Tested-by: default avatarDave Jones <davej@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a85d9df1
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