diff options
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r-- | arch/i386/kernel/smpboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index 8ac8e9fd5614..8e950cdff1a0 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c | |||
@@ -1017,8 +1017,8 @@ int __devinit smp_prepare_cpu(int cpu) | |||
1017 | tsc_sync_disabled = 1; | 1017 | tsc_sync_disabled = 1; |
1018 | 1018 | ||
1019 | /* init low mem mapping */ | 1019 | /* init low mem mapping */ |
1020 | memcpy(swapper_pg_dir, swapper_pg_dir + USER_PGD_PTRS, | 1020 | clone_pgd_range(swapper_pg_dir, swapper_pg_dir + USER_PGD_PTRS, |
1021 | sizeof(swapper_pg_dir[0]) * KERNEL_PGD_PTRS); | 1021 | KERNEL_PGD_PTRS); |
1022 | flush_tlb_all(); | 1022 | flush_tlb_all(); |
1023 | schedule_work(&task); | 1023 | schedule_work(&task); |
1024 | wait_for_completion(&done); | 1024 | wait_for_completion(&done); |