]> Git Repo - linux.git/commit - include/linux/gfp.h
numa, cpumask: move numa_node_id default implementation to topology.h
authorRusty Russell <[email protected]>
Fri, 13 Mar 2009 13:13:37 +0000 (23:43 +1030)
committerIngo Molnar <[email protected]>
Fri, 13 Mar 2009 13:35:31 +0000 (14:35 +0100)
commit082edb7bf443eb8eda15b482d16ad9dd8137ad24
tree167d8c2ca193af9161aded5f368f300981c59535
parent0b966252d9e5d95ec2d11e63d7e55b42913aa5b7
numa, cpumask: move numa_node_id default implementation to topology.h

Impact: cleanup, potential bugfix

Not sure what changed to expose this, but clearly that numa_node_id()
doesn't belong in mmzone.h (the inline in gfp.h is probably overkill, too).

In file included from include/linux/topology.h:34,
                 from arch/x86/mm/numa.c:2:
/home/rusty/patches-cpumask/linux-2.6/arch/x86/include/asm/topology.h:64:1: warning: "numa_node_id" redefined
In file included from include/linux/topology.h:32,
                 from arch/x86/mm/numa.c:2:
include/linux/mmzone.h:770:1: warning: this is the location of the previous definition

Signed-off-by: Rusty Russell <[email protected]>
Cc: Mike Travis <[email protected]>
LKML-Reference: <200903132343[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/gfp.h
include/linux/mmzone.h
include/linux/topology.h
This page took 0.041822 seconds and 4 git commands to generate.