diff options
author | Alex Nixon <alex.nixon@citrix.com> | 2008-08-22 06:52:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-25 04:59:18 -0400 |
commit | 379002586368ae22916f668011c9118c8ce8189c (patch) | |
tree | 875144461ee68d5c960061c202d6ddc01750ee82 /include/asm-x86/smp.h | |
parent | 93be71b672f167b1e8c23725114f86305354f0ac (diff) |
x86_32: clean up play_dead
The removal of the CPU from the various maps was redundant as it already
happened in cpu_disable.
After cleaning this up, cpu_uninit only resets the tlb state, so rename
it and create a noop version for the X86_64 case (so the two play_deads
can be unified later).
Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r-- | include/asm-x86/smp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index dbf4249e2a6d..3bec6b478213 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -221,7 +221,12 @@ static inline int hard_smp_processor_id(void) | |||
221 | #endif /* CONFIG_X86_LOCAL_APIC */ | 221 | #endif /* CONFIG_X86_LOCAL_APIC */ |
222 | 222 | ||
223 | #ifdef CONFIG_HOTPLUG_CPU | 223 | #ifdef CONFIG_HOTPLUG_CPU |
224 | extern void cpu_uninit(void); | 224 | #ifdef CONFIG_X86_32 |
225 | extern void reset_lazy_tlbstate(void); | ||
226 | #else | ||
227 | static inline void reset_lazy_tlbstate(void) | ||
228 | { } | ||
229 | #endif /* CONFIG_X86_32 */ | ||
225 | #endif | 230 | #endif |
226 | 231 | ||
227 | #endif /* __ASSEMBLY__ */ | 232 | #endif /* __ASSEMBLY__ */ |