mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jerry Cooperstein <coop@axian.com>
To: trivial@rustcorp.com.au, marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: Trivial Patch to sched.h for wake_up_interruptible_sync_nr
Date: Thu, 25 Jul 2002 13:26:55 -0700	[thread overview]
Message-ID: <20020725132655.A10660@p3.attbi.com> (raw)

Hi:

This is gone in 2.5, but it is not right for 2.4. 
No one seems to use it, but suppose someone does.

--- linux-2.4.19-rc3/include/linux/sched.h	Mon Jul 22 08:04:48 2002
+++ sched.h	Thu Jul 25 13:10:45 2002
@@ -611,7 +611,7 @@
 #define wake_up_interruptible_nr(x, nr)	__wake_up((x),TASK_INTERRUPTIBLE, nr)
 #define wake_up_interruptible_all(x)	__wake_up((x),TASK_INTERRUPTIBLE, 0)
 #define wake_up_interruptible_sync(x)	__wake_up_sync((x),TASK_INTERRUPTIBLE, 1)
-#define wake_up_interruptible_sync_nr(x) __wake_up_sync((x),TASK_INTERRUPTIBLE,  nr)
+#define wake_up_interruptible_sync_nr(x, nr) __wake_up_sync((x),TASK_INTERRUPTIBLE,  nr)
 asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru);
 
 extern int in_group_p(gid_t);


======================================================================
 Jerry Cooperstein,  <coop@axian.com>
 Axian, Inc. Software Consulting and Training
 Beaverton, OR  97005 USA
 http://www.axian.com/               
======================================================================

                 reply	other threads:[~2002-07-25 20:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020725132655.A10660@p3.attbi.com \
    --to=coop@axian.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=trivial@rustcorp.com.au \
    /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®