x86: move k8 related declarations
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:30:16 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:16 +0000 (13:30 +0100)
Move k8 related declarations to k8.h and fix numa_64.c

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/numa_64.c
include/asm-x86/k8.h
include/asm-x86/proto.h

index 3d6926ba8995e4d54131c2660ffb1348955d6e32..2d8fdc05f415428c9ec8b0a1681a470f624371ae 100644 (file)
@@ -17,6 +17,7 @@
 #include <asm/dma.h>
 #include <asm/numa.h>
 #include <asm/acpi.h>
+#include <asm/k8.h>
 
 #ifndef Dprintk
 #define Dprintk(x...)
index 699dd6961eda06ae0943d62916b1bedc1396bb1b..452e2b696ff48ef2cdf26175572dde1132a175cf 100644 (file)
@@ -10,5 +10,6 @@ extern struct pci_dev **k8_northbridges;
 extern int num_k8_northbridges;
 extern int cache_k8_northbridges(void);
 extern void k8_flush_garts(void);
+extern int k8_scan_nodes(unsigned long start, unsigned long end);
 
 #endif
index 77b4177d17f52df284d868db88f2611f02585507..9b96dae5b7ace9cb56e0c8d5b6b4238c258fdb1a 100644 (file)
@@ -40,8 +40,6 @@ extern int nohpet;
 
 extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
 
-extern int k8_scan_nodes(unsigned long start, unsigned long end);
-
 extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
 extern unsigned long numa_free_all_bootmem(void);