numa: x86_64: use generic percpu var numa_node_id() implementation
x86 arch specific changes to use generic numa_node_id() based on generic percpu variable infrastructure. Back out x86's custom version of numa_node_id() Signed-off-by:Lee Schermerhorn <lee.schermerhorn@hp.com> Cc: Tejun Heo <tj@kernel.org> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: Nick Piggin <npiggin@suse.de> Cc: David Rientjes <rientjes@google.com> Cc: Eric Whitney <eric.whitney@hp.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: <linux-arch@vger.kernel.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/x86/Kconfig 4 additions, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/topology.h 9 additions, 13 deletionsarch/x86/include/asm/topology.h
- arch/x86/kernel/cpu/common.c 3 additions, 3 deletionsarch/x86/kernel/cpu/common.c
- arch/x86/kernel/setup_percpu.c 2 additions, 2 deletionsarch/x86/kernel/setup_percpu.c
- arch/x86/mm/numa_64.c 3 additions, 6 deletionsarch/x86/mm/numa_64.c
Loading
Please register or sign in to comment