x86, NUMA: Enable CONFIG_AMD_NUMA on 32bit too
authorTejun Heo <tj@kernel.org>
Mon, 2 May 2011 15:24:48 +0000 (17:24 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 2 May 2011 15:24:48 +0000 (17:24 +0200)
commit2706a0bf7b02693ed88752df877f10c2206292ff
tree0d59965472ca83443defb291e909a585e553b6d6
parentc6f58878204b0414e00b43f9bcebf754284f95b4
x86, NUMA: Enable CONFIG_AMD_NUMA on 32bit too

Now that NUMA init path is unified, amdtopology can be enabled on
32bit.  Make amdtopology.c safe on 32bit by explicitly using u64 and
drop X86_64 dependency from Kconfig.

Inclusion of bootmem.h is added for max_pfn declaration.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
arch/x86/Kconfig
arch/x86/mm/amdtopology.c