aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index db43b58a3355..c7bfac1c4a7b 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -158,6 +158,11 @@ devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler,
158 devname, dev_id); 158 devname, dev_id);
159} 159}
160 160
161extern int __must_check
162devm_request_any_context_irq(struct device *dev, unsigned int irq,
163 irq_handler_t handler, unsigned long irqflags,
164 const char *devname, void *dev_id);
165
161extern void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id); 166extern void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id);
162 167
163/* 168/*
@@ -183,6 +188,7 @@ extern void disable_irq(unsigned int irq);
183extern void disable_percpu_irq(unsigned int irq); 188extern void disable_percpu_irq(unsigned int irq);
184extern void enable_irq(unsigned int irq); 189extern void enable_irq(unsigned int irq);
185extern void enable_percpu_irq(unsigned int irq, unsigned int type); 190extern void enable_percpu_irq(unsigned int irq, unsigned int type);
191extern void irq_wake_thread(unsigned int irq, void *dev_id);
186 192
187/* The following three functions are for the core kernel use only. */ 193/* The following three functions are for the core kernel use only. */
188extern void suspend_device_irqs(void); 194extern void suspend_device_irqs(void);
@@ -360,7 +366,7 @@ enum
360/* map softirq index to softirq name. update 'softirq_to_name' in 366/* map softirq index to softirq name. update 'softirq_to_name' in
361 * kernel/softirq.c when adding a new softirq. 367 * kernel/softirq.c when adding a new softirq.
362 */ 368 */
363extern char *softirq_to_name[NR_SOFTIRQS]; 369extern const char * const softirq_to_name[NR_SOFTIRQS];
364 370
365/* softirq mask and active fields moved to irq_cpustat_t in 371/* softirq mask and active fields moved to irq_cpustat_t in
366 * asm/hardirq.h to get better cache usage. KAO 372 * asm/hardirq.h to get better cache usage. KAO