x86: smp.h move zap_low_mappings declartion to tlbflush.h
authorJaswinder Singh Rajput <jaswinder@infradead.org>
Wed, 7 Jan 2009 11:56:35 +0000 (17:26 +0530)
committerIngo Molnar <mingo@elte.hu>
Wed, 7 Jan 2009 12:51:20 +0000 (13:51 +0100)
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>
arch/x86/include/asm/smp.h
arch/x86/include/asm/tlbflush.h
arch/x86/mm/init_32.c

index 83a4cc0..64c9e84 100644 (file)
@@ -22,8 +22,6 @@ extern cpumask_t cpu_callout_map;
 extern cpumask_t cpu_initialized;
 extern cpumask_t cpu_callin_map;
 
-extern void zap_low_mappings(void);
-
 extern int __cpuinit get_local_pda(int cpu);
 
 extern int smp_num_siblings;
index 0e7bbb5..aed0b70 100644 (file)
@@ -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 */
index f99a6c6..a9dd0b7 100644 (file)
@@ -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;