aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/kernel/process.c')
-rw-r--r--arch/parisc/kernel/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c
index 7fdca87ef647..f482f78de435 100644
--- a/arch/parisc/kernel/process.c
+++ b/arch/parisc/kernel/process.c
@@ -92,7 +92,9 @@ void cpu_idle(void)
92 while (1) { 92 while (1) {
93 while (!need_resched()) 93 while (!need_resched())
94 barrier(); 94 barrier();
95 preempt_enable_no_resched();
95 schedule(); 96 schedule();
97 preempt_disable();
96 check_pgt_cache(); 98 check_pgt_cache();
97 } 99 }
98} 100}