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/