Skip to contentSkip to conversation

Trivial Patch to sched.h for wake_up_interruptible_sync_nr

PATCH Jerry Cooperstein 1 participant 1 message Jul 25, 2002 Scheduler

lore
Share & tools
lore
#0 lore 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.

sched.h renamed from include/linux/sched.h +1 -1
@@ -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, <[email protected]>
Axian, Inc. Software Consulting and Training
Beaverton, OR 97005 USA
http://www.axian.com/
======================================================================