summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/mm/srat.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 10:52:33 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 10:52:33 +0200
commitc31fbb1ad890b11f037c16496e53f28877c12722 (patch)
tree16255a334807034097d581bad2938f377d11a45a /arch/x86_64/mm/srat.c
parentdf3bb57d2c0160ccd1ee51322f50aa295c3b0858 (diff)
downloadop-kernel-dev-c31fbb1ad890b11f037c16496e53f28877c12722.zip
op-kernel-dev-c31fbb1ad890b11f037c16496e53f28877c12722.tar.gz
[PATCH] Clean up acpi_numa variable
Move it into srat.c No need to clutter up setup.c for it And remove use in setup.c completely - it only guarded a printk which can be done unconditionally. Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/mm/srat.c')
-rw-r--r--arch/x86_64/mm/srat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/mm/srat.c b/arch/x86_64/mm/srat.c
index 502fce6..ca10701 100644
--- a/arch/x86_64/mm/srat.c
+++ b/arch/x86_64/mm/srat.c
@@ -21,6 +21,8 @@
#include <asm/numa.h>
#include <asm/e820.h>
+int acpi_numa __initdata;
+
#if (defined(CONFIG_ACPI_HOTPLUG_MEMORY) || \
defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE)) \
&& !defined(CONFIG_MEMORY_HOTPLUG)
OpenPOWER on IntegriCloud