]> git.karo-electronics.de Git - linux-beck.git/commitdiff
x86: uv cleanup, build fix
authorIngo Molnar <mingo@elte.hu>
Wed, 21 Jan 2009 09:24:27 +0000 (10:24 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Jan 2009 09:24:27 +0000 (10:24 +0100)
Fix:

 arch/x86/mm/srat_64.c: In function ‘acpi_numa_processor_affinity_init’:
 arch/x86/mm/srat_64.c:141: error: implicit declaration of function ‘get_uv_system_type’
 arch/x86/mm/srat_64.c:141: error: ‘UV_X2APIC’ undeclared (first use in this function)
 arch/x86/mm/srat_64.c:141: error: (Each undeclared identifier is reported only once
 arch/x86/mm/srat_64.c:141: error: for each function it appears in.)

A couple of UV definitions were moved to asm/uv/uv.h, but srat_64.c did
not include that header. Add it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/srat_64.c

index 09737c8af07479020e7183fef611c376e4fc1dad..15df1baee1005b43758aa1956fe87cb72808849e 100644 (file)
@@ -21,6 +21,7 @@
 #include <asm/numa.h>
 #include <asm/e820.h>
 #include <asm/genapic.h>
+#include <asm/uv/uv.h>
 
 int acpi_numa __initdata;