summaryrefslogtreecommitdiffstats
path: root/arch/sh64/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh64/kernel/process.c')
-rw-r--r--arch/sh64/kernel/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c
index efde41c0cd66..0c09537449b3 100644
--- a/arch/sh64/kernel/process.c
+++ b/arch/sh64/kernel/process.c
@@ -334,7 +334,9 @@ void default_idle(void)
}
local_irq_enable();
}
+ preempt_enable_no_resched();
schedule();
+ preempt_disable();
}
}