mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: paulus@samba.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] One-liner typo 2.5.3-pre3 in ppc/kernel/idle.c
Date: Wed, 23 Jan 2002 15:41:12 +1100	[thread overview]
Message-ID: <E16TFDk-0007wc-00@wagner.rustcorp.com.au> (raw)

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.

             reply	other threads:[~2002-01-23  4:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23  4:41 Rusty Russell [this message]
2002-01-23  5:31 ` Anton Blanchard
2002-01-23  6:00   ` Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16TFDk-0007wc-00@wagner.rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®