[PATCH] One-liner typo 2.5.3-pre3 in ppc/kernel/idle.c

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Tue Jan 22 2002 - 23:41:12 EST


Looks like need_resched conversion error.

Cheers!
Rusty.
diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.3-pre3/arch/ppc/kernel/idle.c linux-2.5.3-pre3.28518.updated/arch/ppc/kernel/idle.c
--- linux-2.5.3-pre3/arch/ppc/kernel/idle.c Wed Jan 23 15:38:36 2002
+++ linux-2.5.3-pre3.28518.updated/arch/ppc/kernel/idle.c Wed Jan 23 15:39:08 2002
@@ -66,7 +67,7 @@
                         int oldval = xchg(&current->need_resched, -1);
 
                         if (!oldval) {
- while (need_resched())
+ while (!need_resched())
                                         barrier(); /* Do Nothing */
                         }
                 }

--
  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/



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:01:00 EST