aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/idle.c2
-rw-r--r--arch/sparc/kernel/process_64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c
index 65035141552b..c97fc60c790c 100644
--- a/arch/powerpc/kernel/idle.c
+++ b/arch/powerpc/kernel/idle.c
@@ -102,7 +102,7 @@ void cpu_idle(void)
102 rcu_idle_exit(); 102 rcu_idle_exit();
103 tick_nohz_idle_exit(); 103 tick_nohz_idle_exit();
104 if (cpu_should_die()) { 104 if (cpu_should_die()) {
105 preempt_enable_no_resched(); 105 sched_preempt_enable_no_resched();
106 cpu_die(); 106 cpu_die();
107 } 107 }
108 schedule_preempt_disabled(); 108 schedule_preempt_disabled();
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c
index ab9a29268213..06b5b5fc20c7 100644
--- a/arch/sparc/kernel/process_64.c
+++ b/arch/sparc/kernel/process_64.c
@@ -106,7 +106,7 @@ void cpu_idle(void)
106 106
107#ifdef CONFIG_HOTPLUG_CPU 107#ifdef CONFIG_HOTPLUG_CPU
108 if (cpu_is_offline(cpu)) { 108 if (cpu_is_offline(cpu)) {
109 preempt_enable_no_resched(); 109 sched_preempt_enable_no_resched();
110 cpu_play_dead(); 110 cpu_play_dead();
111 } 111 }
112#endif 112#endif