mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Trivial Patch to sched.h for wake_up_interruptible_sync_nr
@ 2002-07-25 20:26 Jerry Cooperstein
  0 siblings, 0 replies; only message in thread
From: Jerry Cooperstein @ 2002-07-25 20:26 UTC (permalink / raw)
  To: trivial, marcelo; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-25 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-25 20:26 Trivial Patch to sched.h for wake_up_interruptible_sync_nr Jerry Cooperstein

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®