Explorar o código

x86: move k8 related declarations

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>
Thomas Gleixner %!s(int64=17) %!d(string=hai) anos
pai
achega
c9ff03428f
Modificáronse 3 ficheiros con 2 adicións e 2 borrados
  1. 1 0
      arch/x86/mm/numa_64.c
  2. 1 0
      include/asm-x86/k8.h
  3. 0 2
      include/asm-x86/proto.h

+ 1 - 0
arch/x86/mm/numa_64.c

@@ -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...)

+ 1 - 0
include/asm-x86/k8.h

@@ -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

+ 0 - 2
include/asm-x86/proto.h

@@ -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);