OMAP3: PM: Added resched check into idle calls
authorTero Kristo <tero.kristo@nokia.com>
Fri, 20 Mar 2009 13:21:02 +0000 (15:21 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 11 Nov 2009 22:42:50 +0000 (14:42 -0800)
commitcf22854cee10e16e28b1dde136c37e82b7d503ee
treedfde2fd974b8d15d1a1a5a2c13d57d5fe9dd8e76
parentda869621c3cd93d5a8361f243b50e5d48d12bd14
OMAP3: PM: Added resched check into idle calls

Fixes a bug where scheduling is delayed until next wakeup due to race
condition (e.g. interrupt requests scheduling just before omap_sram_idle
is entered.)

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/cpuidle34xx.c
arch/arm/mach-omap2/pm34xx.c