aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 4e456bd955bb..9983bc3f5d18 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -728,14 +728,3 @@ void __cpuinit cpu_init(void)
728 mxcsr_feature_mask_init(); 728 mxcsr_feature_mask_init();
729} 729}
730 730
731#ifdef CONFIG_HOTPLUG_CPU
732void __cpuinit cpu_uninit(void)
733{
734 int cpu = raw_smp_processor_id();
735 cpu_clear(cpu, cpu_initialized);
736
737 /* lazy TLB state */
738 per_cpu(cpu_tlbstate, cpu).state = 0;
739 per_cpu(cpu_tlbstate, cpu).active_mm = &init_mm;
740}
741#endif