Skip to content

Commit 457ba7f

Browse files
enable __wait_event_interruptible_lock_irq
1 parent 0692384 commit 457ba7f

File tree

1 file changed

+1
-3
lines changed
  • sys/compat/linuxkpi/common/include/linux

1 file changed

+1
-3
lines changed

sys/compat/linuxkpi/common/include/linux/wait.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -384,14 +384,12 @@ do { \
384384
? 0 : __wait_event_interruptible_locked(wq, condition, 0, 0))
385385

386386

387-
#define __wait_event_interruptible_lock_irq(wq, condition, lock, cmd) ({panic("implement me!!! XXX"); 0;})
388-
#if 0
387+
#define __wait_event_interruptible_lock_irq(wq, condition, lock, cmd) \
389388
___wait_event(wq, condition, TASK_INTERRUPTIBLE, 0, 0, \
390389
spin_unlock_irq(&lock); \
391390
cmd; \
392391
schedule(); \
393392
spin_lock_irq(&lock))
394-
#endif
395393

396394
#define wait_event_interruptible_lock_irq(wq, condition, lock) \
397395
({ \

0 commit comments

Comments
 (0)