summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorAlex Nixon <alex.nixon@citrix.com>2008-09-03 14:30:23 +0100
committerIngo Molnar <mingo@elte.hu>2008-09-05 17:44:08 +0200
commit913da64b54b2b3bb212a59aba2e6f2b8294ca1fa (patch)
treec7e715a2df32c8360bc568e274e4868640243e1b /include/asm-x86/smp.h
parent5ab6d815dc23117cd9c5895cb9592824de3d4a68 (diff)
downloadop-kernel-dev-913da64b54b2b3bb212a59aba2e6f2b8294ca1fa.zip
op-kernel-dev-913da64b54b2b3bb212a59aba2e6f2b8294ca1fa.tar.gz
x86: build fix for !CONFIG_SMP
Move reset_lazy_tlbstate into tlb_32.c, and define noop versions of play_dead() in process_{32,64}.c when !CONFIG_SMP. Signed-off-by: Alex Nixon <alex.nixon@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r--include/asm-x86/smp.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index 8bdaa4a..30b5146 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -222,14 +222,5 @@ static inline int hard_smp_processor_id(void)
#endif /* CONFIG_X86_LOCAL_APIC */
-#ifdef CONFIG_HOTPLUG_CPU
-#ifdef CONFIG_X86_32
-extern void reset_lazy_tlbstate(void);
-#else
-static inline void reset_lazy_tlbstate(void)
-{ }
-#endif /* CONFIG_X86_32 */
-#endif
-
#endif /* __ASSEMBLY__ */
#endif
OpenPOWER on IntegriCloud