summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-11-09 14:19:33 +0100
committerLeon Woestenberg <leon@sidebranch.com>2009-11-18 19:22:10 +0100
commitd9a2c938177a28d6310ff285eecf5286613a589b (patch)
tree393ee5038e25b6a10f2ff44531a1b66ba631e2b3 /recipes
parentae7a832d3b0500c97f44c5e0bfa99801f8adc1d9 (diff)
linux-kirkwood: Add patch that re-enables interrupt from idle.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/linux/linux-kirkwood/cpuidle-reenable-interrupts.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/linux/linux-kirkwood/cpuidle-reenable-interrupts.patch b/recipes/linux/linux-kirkwood/cpuidle-reenable-interrupts.patch
new file mode 100644
index 0000000000..0f472d9f75
--- /dev/null
+++ b/recipes/linux/linux-kirkwood/cpuidle-reenable-interrupts.patch
@@ -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 */
+
+