Commit c9ff03428f24219b927d9d9d3c0c581622967794

Authored by Thomas Gleixner
Committed by Ingo Molnar
1 parent fc36367211

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>

Showing 3 changed files with 2 additions and 2 deletions Side-by-side Diff

arch/x86/mm/numa_64.c
... ... @@ -17,6 +17,7 @@
17 17 #include <asm/dma.h>
18 18 #include <asm/numa.h>
19 19 #include <asm/acpi.h>
  20 +#include <asm/k8.h>
20 21  
21 22 #ifndef Dprintk
22 23 #define Dprintk(x...)
include/asm-x86/k8.h
... ... @@ -10,6 +10,7 @@
10 10 extern int num_k8_northbridges;
11 11 extern int cache_k8_northbridges(void);
12 12 extern void k8_flush_garts(void);
  13 +extern int k8_scan_nodes(unsigned long start, unsigned long end);
13 14  
14 15 #endif
include/asm-x86/proto.h
... ... @@ -40,8 +40,6 @@
40 40  
41 41 extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
42 42  
43   -extern int k8_scan_nodes(unsigned long start, unsigned long end);
44   -
45 43 extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
46 44 extern unsigned long numa_free_all_bootmem(void);
47 45