瀏覽代碼

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 <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Jaswinder Singh Rajput 16 年之前
父節點
當前提交
dacf733357
共有 3 個文件被更改,包括 2 次插入3 次删除
  1. 0 2
      arch/x86/include/asm/smp.h
  2. 2 0
      arch/x86/include/asm/tlbflush.h
  3. 0 1
      arch/x86/mm/init_32.c

+ 0 - 2
arch/x86/include/asm/smp.h

@@ -22,8 +22,6 @@ extern cpumask_t cpu_callout_map;
 extern cpumask_t cpu_initialized;
 extern cpumask_t cpu_initialized;
 extern cpumask_t cpu_callin_map;
 extern cpumask_t cpu_callin_map;
 
 
-extern void zap_low_mappings(void);
-
 extern int __cpuinit get_local_pda(int cpu);
 extern int __cpuinit get_local_pda(int cpu);
 
 
 extern int smp_num_siblings;
 extern int smp_num_siblings;

+ 2 - 0
arch/x86/include/asm/tlbflush.h

@@ -175,4 +175,6 @@ static inline void flush_tlb_kernel_range(unsigned long start,
 	flush_tlb_all();
 	flush_tlb_all();
 }
 }
 
 
+extern void zap_low_mappings(void);
+
 #endif /* _ASM_X86_TLBFLUSH_H */
 #endif /* _ASM_X86_TLBFLUSH_H */

+ 0 - 1
arch/x86/mm/init_32.c

@@ -49,7 +49,6 @@
 #include <asm/paravirt.h>
 #include <asm/paravirt.h>
 #include <asm/setup.h>
 #include <asm/setup.h>
 #include <asm/cacheflush.h>
 #include <asm/cacheflush.h>
-#include <asm/smp.h>
 
 
 unsigned int __VMALLOC_RESERVE = 128 << 20;
 unsigned int __VMALLOC_RESERVE = 128 << 20;