summaryrefslogtreecommitdiff
path: root/include/linux/wait.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:33:49 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:33:49 -0800
commit5fc4bcdeadad92d4479f9a66b4e4d57717b13219 (patch)
tree3b8a8f4e61a1605fa8f8abd59f8fe4f46d4eeac1 /include/linux/wait.h
parent2d46136da942fda8496a564524dddf2ac3881221 (diff)
v2.4.14.5 -> v2.4.14.6
- Russell King: /proc/cpuinfo for ARM - Paul Mackerras: PPC update (cpuinfo etc) - Nicolas Aspert: fix Intel 8xx agptlb flush - Marko Myllynen: "Lindent" doesn't really need bash ;) - Alexander Viro: /proc/cpuinfo for s390/s390x/sh, /proc/pci cleanup - Alexander Viro: make lseek work on seqfiles
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r--include/linux/wait.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h
index 52906444f233..3503fd2226c5 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -109,12 +109,12 @@ typedef struct __wait_queue_head wait_queue_head_t;
} while (0)
#define WQ_CHECK_LIST_HEAD(list) \
do { \
- if (!list->next || !list->prev) \
+ if (!(list)->next || !(list)->prev) \
WQ_BUG(); \
} while(0)
#define WQ_NOTE_WAKER(tsk) \
do { \
- tsk->__waker = (long)__builtin_return_address(0); \
+ (tsk)->__waker = (long)__builtin_return_address(0); \
} while (0)
#else
#define WQ_BUG()