ia64/xen-unstable

view linux-2.4.29-xen-sparse/include/asm-xen/queues.h @ 3516:1a4f61d36171

bitkeeper revision 1.1159.223.31 (41f599bcklevTYwPtWQUZ7QK-azDbg)

Fix recent patch to change the way the version string is generated.
Signed-off-by: ian.pratt@cl.cam.ac.uk
author iap10@freefall.cl.cam.ac.uk
date Tue Jan 25 00:58:36 2005 +0000 (2005-01-25)
parents ed0d4ce83995
children d126cac32f08
line source
2 /* Work-queue emulation over task queues. Pretty simple. */
4 #ifndef __QUEUES_H__
5 #define __QUEUES_H__
7 #include <linux/version.h>
8 #include <linux/list.h>
9 #include <linux/tqueue.h>
11 #define DECLARE_TQUEUE(_name, _fn, _arg) \
12 struct tq_struct _name = { LIST_HEAD_INIT((_name).list), 0, _fn, _arg }
13 #define DECLARE_WORK(_name, _fn, _arg) DECLARE_TQUEUE(_name, _fn, _arg)
15 #define work_struct tq_struct
16 #define INIT_WORK(_work, _fn, _arg) INIT_TQUEUE(_work, _fn, _arg)
18 #define schedule_work(_w) schedule_task(_w)
20 #endif /* __QUEUES_H__ */