linux-kirkwood: Add patch that re-enables interrupt from idle.
authorLeon Woestenberg <leon@sidebranch.com>
Mon, 9 Nov 2009 13:19:33 +0000 (14:19 +0100)
committerLeon Woestenberg <leon@sidebranch.com>
Wed, 18 Nov 2009 18:22:10 +0000 (19:22 +0100)
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
recipes/linux/linux-kirkwood/cpuidle-reenable-interrupts.patch [new file with mode: 0644]

diff --git a/recipes/linux/linux-kirkwood/cpuidle-reenable-interrupts.patch b/recipes/linux/linux-kirkwood/cpuidle-reenable-interrupts.patch
new file mode 100644 (file)
index 0000000..0f472d9
--- /dev/null
@@ -0,0 +1,19 @@
+diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c
+index ad41f19..12fdd39 100644
+--- a/drivers/cpuidle/cpuidle.c
++++ b/drivers/cpuidle/cpuidle.c
+@@ -76,8 +76,11 @@  static void cpuidle_idle_call(void)
+ #endif
+       /* ask the governor for the next state */
+       next_state = cpuidle_curr_governor->select(dev);
+-      if (need_resched())
++      if (need_resched()) {
++              local_irq_enable();
+               return;
++      }
++
+       target_state = &dev->states[next_state];
+       /* enter the state and update stats */
+
+