aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kernel/smpboot.c2
-rw-r--r--arch/x86/kernel/smpboot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
index 6a1380e90f87..99dcc85193c9 100644
--- a/arch/ia64/kernel/smpboot.c
+++ b/arch/ia64/kernel/smpboot.c
@@ -519,7 +519,7 @@ do_boot_cpu (int sapicid, int cpu)
519 /* 519 /*
520 * We can't use kernel_thread since we must avoid to reschedule the child. 520 * We can't use kernel_thread since we must avoid to reschedule the child.
521 */ 521 */
522 if (!keventd_up() || current_is_keventd()) 522 if (!keventd_up())
523 c_idle.work.func(&c_idle.work); 523 c_idle.work.func(&c_idle.work);
524 else { 524 else {
525 schedule_work(&c_idle.work); 525 schedule_work(&c_idle.work);
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 11015fd1abbc..51620953b18a 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -735,7 +735,7 @@ static int __cpuinit do_boot_cpu(int apicid, int cpu)
735 goto do_rest; 735 goto do_rest;
736 } 736 }
737 737
738 if (!keventd_up() || current_is_keventd()) 738 if (!keventd_up())
739 c_idle.work.func(&c_idle.work); 739 c_idle.work.func(&c_idle.work);
740 else { 740 else {
741 schedule_work(&c_idle.work); 741 schedule_work(&c_idle.work);