From: Thomas Gleixner Date: Wed, 30 Jan 2008 12:30:16 +0000 (+0100) Subject: x86: move k8 related declarations X-Git-Tag: v2.6.25-rc1~1143^2~828 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9ff03428f24219b927d9d9d3c0c581622967794;p=linux-2.6 x86: move k8 related declarations Move k8 related declarations to k8.h and fix numa_64.c Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index 3d6926ba89..2d8fdc05f4 100644 --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c @@ -17,6 +17,7 @@ #include #include #include +#include #ifndef Dprintk #define Dprintk(x...) diff --git a/include/asm-x86/k8.h b/include/asm-x86/k8.h index 699dd6961e..452e2b696f 100644 --- a/include/asm-x86/k8.h +++ b/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 diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h index 77b4177d17..9b96dae5b7 100644 --- a/include/asm-x86/proto.h +++ b/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);