]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86: Remove redundant non-NUMA topology functions
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Sep 2009 08:18:44 +0000 (17:48 +0930)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Sep 2009 12:16:15 +0000 (14:16 +0200)
commitb0c6fbe458183cc7e1cab17be6efcbe7e435bad3
tree938ef7c696bab68c28bd8668ae37a409b0b9069c
parent429a6e5e2c1fbe5d805aad123efbdb5f0c14769f
x86: Remove redundant non-NUMA topology functions

arch/x86/include/asm/topology.h declares inline fns cpu_to_node and
cpumask_of_node for !NUMA, even though they are then declared as
macros by asm-generic/topology.h, which is #included just below.

The macros (which are the same) end up being used; these functions
are just confusing.

Noticed-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: "Greg Kroah-Hartman" <gregkh@suse.de>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
LKML-Reference: <200909241748.45629.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/topology.h