Trivial Patch to sched.h for wake_up_interruptible_sync_nr

Jerry Cooperstein (coop@axian.com)
Thu, 25 Jul 2002 13:26:55 -0700


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