lkml.org 
[lkml]   [2002]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] TRIVIAL IV: 2.5.6-pre3. APM idle fix.
Date
Linus, please apply.

Stephen Rothwell <sfr@canb.auug.org.au>: [PATCH] APM idleing fix:

This bug slipped back in with the need_resched() macro substitution.

diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.6-pre3/arch/i386/kernel/apm.c trivial-2.5.6-pre3/arch/i386/kernel/apm.c
--- linux-2.5.6-pre3/arch/i386/kernel/apm.c Wed Feb 20 17:56:59 2002
+++ trivial-2.5.6-pre3/arch/i386/kernel/apm.c Thu Mar 7 18:20:33 2002
@@ -812,7 +812,7 @@

t1 = IDLE_LEAKY_MAX;

- while (need_resched()) {
+ while (!need_resched()) {
if (use_apm_idle) {
unsigned int t;

--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.016 / U:11.848 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site