diff options
-rw-r--r-- | arch/m68k/kernel/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/kernel/process.c b/arch/m68k/kernel/process.c index c488e3cfab53..ac2892e49c7c 100644 --- a/arch/m68k/kernel/process.c +++ b/arch/m68k/kernel/process.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/reboot.h> | 25 | #include <linux/reboot.h> |
26 | #include <linux/init_task.h> | 26 | #include <linux/init_task.h> |
27 | #include <linux/mqueue.h> | 27 | #include <linux/mqueue.h> |
28 | #include <linux/rcupdate.h> | ||
28 | 29 | ||
29 | #include <asm/uaccess.h> | 30 | #include <asm/uaccess.h> |
30 | #include <asm/traps.h> | 31 | #include <asm/traps.h> |
@@ -75,8 +76,10 @@ void cpu_idle(void) | |||
75 | { | 76 | { |
76 | /* endless idle loop with no priority at all */ | 77 | /* endless idle loop with no priority at all */ |
77 | while (1) { | 78 | while (1) { |
79 | rcu_idle_enter(); | ||
78 | while (!need_resched()) | 80 | while (!need_resched()) |
79 | idle(); | 81 | idle(); |
82 | rcu_idle_exit(); | ||
80 | schedule_preempt_disabled(); | 83 | schedule_preempt_disabled(); |
81 | } | 84 | } |
82 | } | 85 | } |