diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-26 22:00:52 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-26 22:00:52 -0400 |
| commit | 45f6bc5ff9c3387387f048ec85dcb4e69acf0b03 (patch) | |
| tree | d04952bb05b53a362bcd165fb910c5c1441b4c5d /kernel/cpu | |
| parent | 3138887bd8d18173f3c2baf1e43621c49090cd27 (diff) | |
| parent | e4aa937ec75df0eea0bee03bffa3303ad36c986b (diff) | |
Merge 3.10-rc3 into usb-next
We want these fixes.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/cpu')
| -rw-r--r-- | kernel/cpu/idle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cpu/idle.c b/kernel/cpu/idle.c index 8b86c0c68edf..d5585f5e038e 100644 --- a/kernel/cpu/idle.c +++ b/kernel/cpu/idle.c | |||
| @@ -40,11 +40,13 @@ __setup("hlt", cpu_idle_nopoll_setup); | |||
| 40 | 40 | ||
| 41 | static inline int cpu_idle_poll(void) | 41 | static inline int cpu_idle_poll(void) |
| 42 | { | 42 | { |
| 43 | rcu_idle_enter(); | ||
| 43 | trace_cpu_idle_rcuidle(0, smp_processor_id()); | 44 | trace_cpu_idle_rcuidle(0, smp_processor_id()); |
| 44 | local_irq_enable(); | 45 | local_irq_enable(); |
| 45 | while (!need_resched()) | 46 | while (!need_resched()) |
| 46 | cpu_relax(); | 47 | cpu_relax(); |
| 47 | trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id()); | 48 | trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id()); |
| 49 | rcu_idle_exit(); | ||
| 48 | return 1; | 50 | return 1; |
| 49 | } | 51 | } |
| 50 | 52 | ||
