Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2002-03-07 00:44:50 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-03-07 00:44:50 -0800
commit6169c8c298be000da38ffe67a59e7f27bd34b802 (patch)
tree0f83b63a871e6daf2da961fef35d718e96afefc1
parent2f41abeb481334d7e3cfedb72645ad0002747f78 (diff)
[PATCH] 2.5.6-pre3. APM idle fix.
Stephen Rothwell <sfr@canb.auug.org.au>: [PATCH] APM idleing fix: This bug slipped back in with the need_resched() macro substitution.
-rw-r--r--arch/i386/kernel/apm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c
index 2e52b14f75d3..3a397576b41a 100644
--- a/arch/i386/kernel/apm.c
+++ b/arch/i386/kernel/apm.c
@@ -812,7 +812,7 @@ recalc:
t1 = IDLE_LEAKY_MAX;
- while (need_resched()) {
+ while (!need_resched()) {
if (use_apm_idle) {
unsigned int t;