x86: smp.h move zap_low_mappings declartion to tlbflush.h
PATCH 2/7 x86: smp.h move zap_low_mappings declartion to tlbflush.h
Impact: cleanup, moving NON-SMP stuff from smp.h
Signed-off-by Jaswinder Singh Rajput <[email protected]>
--- arch/x86/include/asm/smp.h | 2 -- arch/x86/include/asm/tlbflush.h | 2 ++ arch/x86/mm/init_32.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-)
arch/x86/include/asm/smp.h +0 -2
@@ -39,8 +39,6 @@ extern cpumask_t cpu_sibling_setup_map;#endif /* CONFIG_X86_32 */ -extern void zap_low_mappings (void ); -extern int __cpuinit get_local_pda (int cpu);extern int smp_num_siblings;
arch/x86/include/asm/tlbflush.h +2 -0
@@ -175,4 +175,6 @@ static inline void flush_tlb_kernel_range(unsigned long start, flush_tlb_all(); } +extern void zap_low_mappings (void ); +#endif /* _ASM_X86_TLBFLUSH_H */
arch/x86/mm/init_32.c +0 -1
@@ -49,7 +49,6 @@#include <asm/paravirt.h> #include <asm/setup.h> #include <asm/cacheflush.h> -#include <asm/smp.h> unsigned int __VMALLOC_RESERVE =128 <<20 ;
Signature · 1 line
1.5.6.6