From: Thomas Gleixner Date: Wed, 30 Jan 2008 12:30:17 +0000 (+0100) Subject: x86: move numa related declarations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aaa64e04f9af8c05a10ab3d67df44154742d15cf;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git x86: move numa related declarations More stuff shuffeled to the correct place Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 9677abb6cf8a..0fbb657a8b19 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -44,6 +44,7 @@ #include #include #include +#include #ifndef Dprintk #define Dprintk(x...) diff --git a/include/asm-x86/numa_64.h b/include/asm-x86/numa_64.h index 0cc5c97a7fc9..e6bc0b5dfe3a 100644 --- a/include/asm-x86/numa_64.h +++ b/include/asm-x86/numa_64.h @@ -21,6 +21,12 @@ extern void srat_reserve_add_area(int nodeid); extern int hotadd_percent; extern unsigned char apicid_to_node[MAX_LOCAL_APIC]; + +extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); +extern unsigned long numa_free_all_bootmem(void); +extern void setup_node_bootmem(int nodeid, unsigned long start, + unsigned long end); + #ifdef CONFIG_NUMA extern void __init init_cpu_to_node(void); diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h index 02420dea73c6..71a419c6e041 100644 --- a/include/asm-x86/proto.h +++ b/include/asm-x86/proto.h @@ -37,9 +37,6 @@ extern u32 pmtmr_ioport; #endif extern int nohpet; -extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); -extern unsigned long numa_free_all_bootmem(void); - extern void reserve_bootmem_generic(unsigned long phys, unsigned len); extern void load_gs_index(unsigned gs); @@ -52,8 +49,6 @@ extern void swap_low_mappings(void); extern void syscall32_cpu_init(void); -extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end); - extern void check_efer(void); extern unsigned long table_start, table_end;