[PATCH] Fix up non-NUMA breakage in mmzone.h
authorDave Jones <davej@redhat.com>
Fri, 8 Jul 2005 00:56:39 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:42 +0000 (18:23 -0700)
commite8af300c3bd87b2310f1e7a642f37e0fe49a754b
tree3a4d7be252aef85fb93cd6ac65dcd9a983f5bdd8
parent8ff8b27bb8ebfd863b49653da1b7bbd8609fcd7e
[PATCH] Fix up non-NUMA breakage in mmzone.h

If CONFIG_NUMA isn't set, we use the define in <linux/mmzone.h> for
early_pfn_to_nid (which defines it to 0).

Because of this, the prototype needs to move inside the CONFIG_NUMA too, or
anal gcc's get really confused.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/mmzone.h