Rev 4292 | Rev 5270 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4292 | Rev 5056 | ||
---|---|---|---|
Line 107... | Line 107... | ||
107 | spin_unlock_irqrestore(&wq.lock, flags); \ |
107 | spin_unlock_irqrestore(&wq.lock, flags); \ |
108 | }; \ |
108 | }; \ |
109 | DestroyEvent(__wait.evnt); \ |
109 | DestroyEvent(__wait.evnt); \ |
110 | } while (0) |
110 | } while (0) |
Line -... | Line 111... | ||
- | 111 | ||
- | 112 | #define wait_event_interruptible(wq, condition) \ |
|
- | 113 | ({ \ |
|
- | 114 | int __ret = 0; \ |
|
- | 115 | if (!(condition)) \ |
|
- | 116 | wait_event(wq, condition); \ |
|
111 | 117 | __ret; \ |
|
Line 112... | Line 118... | ||
112 | 118 | }) |
|
113 | 119 | ||
114 | 120 |