aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq_work.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/irq_work.h')
-rw-r--r--include/linux/irq_work.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/irq_work.h b/include/linux/irq_work.h
index 66017028dcb3..19ae05d4b8ec 100644
--- a/include/linux/irq_work.h
+++ b/include/linux/irq_work.h
@@ -30,7 +30,9 @@ void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *))
30 work->func = func; 30 work->func = func;
31} 31}
32 32
33void irq_work_queue(struct irq_work *work); 33#define DEFINE_IRQ_WORK(name, _f) struct irq_work name = { .func = (_f), }
34
35bool irq_work_queue(struct irq_work *work);
34void irq_work_run(void); 36void irq_work_run(void);
35void irq_work_sync(struct irq_work *work); 37void irq_work_sync(struct irq_work *work);
36 38