patch-2.4.15 linux/include/linux/wait.h
Next file: linux/include/linux/watchdog.h
Previous file: linux/include/linux/videodev.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Nov 22 11:46:19 2001
- Orig file:
v2.4.14/linux/include/linux/wait.h
- Orig date:
Thu Oct 18 13:47:37 2001
diff -u --recursive --new-file v2.4.14/linux/include/linux/wait.h linux/include/linux/wait.h
@@ -109,12 +109,12 @@
} 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()
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)