x86: Fix the !CONFIG_NUMA build of the new CPU ID fixup code support
authorSteffen Persvold <sp@numascale.com>
Tue, 6 Dec 2011 00:10:31 +0000 (01:10 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 06:03:37 +0000 (07:03 +0100)
commite4a02b4a951a7adf9d982b11c64686570c29fbe7
treec4b4baf74cd80bd8caa230fc25bf79c10ed728c6
parent44b111b519160e33fdc41eadb39af86a24707edf
x86: Fix the !CONFIG_NUMA build of the new CPU ID fixup code support

I used "ifdef CONFIG_NUMA" simply because it doesn't make
sense in a non-numa configuration even with SMP enabled.

Besides, the only place where it is called right now is
in kernel/cpu/amd.c:srat_detect_node() within the
"CONFIG_NUMA" protected part.

Signed-off-by: Steffen Persvold <sp@numascale.com>
Cc: Daniel J Blueman <daniel@numascale-asia.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Link: http://lkml.kernel.org/r/1323073238-32686-2-git-send-email-daniel@numascale-asia.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common.c