From c9ff03428f24219b927d9d9d3c0c581622967794 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 30 Jan 2008 13:30:16 +0100 Subject: [PATCH] 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 --- arch/x86/mm/numa_64.c | 1 + include/asm-x86/k8.h | 1 + include/asm-x86/proto.h | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index 3d6926ba899..2d8fdc05f41 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 699dd6961ed..452e2b696ff 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 77b4177d17f..9b96dae5b7a 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); -- 2.39.2