cgroup, cpuset: remove cgroup_subsys->post_clone()
[linux-2.6/libata-dev.git] / include / linux / irq_work.h
blob6a9e8f5399e2ab137b3c251eb49349fdc6b333ac
1 #ifndef _LINUX_IRQ_WORK_H
2 #define _LINUX_IRQ_WORK_H
4 #include <linux/llist.h>
6 struct irq_work {
7 unsigned long flags;
8 struct llist_node llnode;
9 void (*func)(struct irq_work *);
12 static inline
13 void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *))
15 work->flags = 0;
16 work->func = func;
19 bool irq_work_queue(struct irq_work *work);
20 void irq_work_run(void);
21 void irq_work_sync(struct irq_work *work);
23 #endif /* _LINUX_IRQ_WORK_H */