diff options
Diffstat (limited to 'arch/parisc/kernel/process.c')
| -rw-r--r-- | arch/parisc/kernel/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index 2c05a9292a81..8c6b6b6561f0 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c | |||
| @@ -48,6 +48,7 @@ | |||
| 48 | #include <linux/unistd.h> | 48 | #include <linux/unistd.h> |
| 49 | #include <linux/kallsyms.h> | 49 | #include <linux/kallsyms.h> |
| 50 | #include <linux/uaccess.h> | 50 | #include <linux/uaccess.h> |
| 51 | #include <linux/rcupdate.h> | ||
| 51 | 52 | ||
| 52 | #include <asm/io.h> | 53 | #include <asm/io.h> |
| 53 | #include <asm/asm-offsets.h> | 54 | #include <asm/asm-offsets.h> |
| @@ -69,8 +70,10 @@ void cpu_idle(void) | |||
| 69 | 70 | ||
| 70 | /* endless idle loop with no priority at all */ | 71 | /* endless idle loop with no priority at all */ |
| 71 | while (1) { | 72 | while (1) { |
| 73 | rcu_idle_enter(); | ||
| 72 | while (!need_resched()) | 74 | while (!need_resched()) |
| 73 | barrier(); | 75 | barrier(); |
| 76 | rcu_idle_exit(); | ||
| 74 | schedule_preempt_disabled(); | 77 | schedule_preempt_disabled(); |
| 75 | check_pgt_cache(); | 78 | check_pgt_cache(); |
| 76 | } | 79 | } |
