Messages in this thread Patch in this message | | | From | Rusty Russell <> | Subject | [PATCH] One-liner typo 2.5.3-pre3 in ppc/kernel/idle.c | Date | Wed, 23 Jan 2002 15:41:12 +1100 |
| |
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(¤t->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/
| |