diff options
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index 277ce5e91e04..5b7aadbef5f9 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c | |||
@@ -859,17 +859,6 @@ static __cpuinit void smp_cleanup_boot(void) | |||
859 | * Reset trampoline flag | 859 | * Reset trampoline flag |
860 | */ | 860 | */ |
861 | *((volatile int *) phys_to_virt(0x467)) = 0; | 861 | *((volatile int *) phys_to_virt(0x467)) = 0; |
862 | |||
863 | #ifndef CONFIG_HOTPLUG_CPU | ||
864 | /* | ||
865 | * Free pages reserved for SMP bootup. | ||
866 | * When you add hotplug CPU support later remove this | ||
867 | * Note there is more work to be done for later CPU bootup. | ||
868 | */ | ||
869 | |||
870 | free_page((unsigned long) __va(PAGE_SIZE)); | ||
871 | free_page((unsigned long) __va(SMP_TRAMPOLINE_BASE)); | ||
872 | #endif | ||
873 | } | 862 | } |
874 | 863 | ||
875 | /* | 864 | /* |