Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88826
b: refs/heads/master
c: 802b813
h: refs/heads/master
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent 0f044e8 commit fc6bfbe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e7f8b14e028f7a2f9e5c83c17164aeeeb9c61f17
refs/heads/master: 802b8133b4f78c30a2668d142d78861e27c0c6a7
8 changes: 6 additions & 2 deletions trunk/arch/x86/kernel/smpboot_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,12 @@ static void __cpuinit __smp_prepare_cpu(int cpu)
clone_pgd_range(swapper_pg_dir, swapper_pg_dir + USER_PGD_PTRS,
min_t(unsigned long, KERNEL_PGD_PTRS, USER_PGD_PTRS));
flush_tlb_all();
schedule_work(&info.task);
wait_for_completion(&done);
if (!keventd_up() || current_is_keventd())
info.task.func(&info.task);
else {
schedule_work(&info.task);
wait_for_completion(&done);
}

zap_low_mappings();
}
Expand Down

0 comments on commit fc6bfbe

Please sign in to comment.