lkml.org 
[lkml]   [2002]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] One-liner typo 2.5.3-pre3 in ppc/kernel/idle.c
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.046 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site