mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] TRIVIAL IV: 2.5.6-pre3. APM idle fix.
@ 2002-03-07  7:37 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2002-03-07  7:37 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-07  7:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-07  7:37 [PATCH] TRIVIAL IV: 2.5.6-pre3. APM idle fix Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®