diff options
Diffstat (limited to 'include/linux/interrupt.h')
| -rw-r--r-- | include/linux/interrupt.h | 8 |
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 | ||
| 161 | extern int __must_check | ||
| 162 | devm_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 | |||
| 161 | extern void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id); | 166 | extern 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); | |||
| 183 | extern void disable_percpu_irq(unsigned int irq); | 188 | extern void disable_percpu_irq(unsigned int irq); |
| 184 | extern void enable_irq(unsigned int irq); | 189 | extern void enable_irq(unsigned int irq); |
| 185 | extern void enable_percpu_irq(unsigned int irq, unsigned int type); | 190 | extern void enable_percpu_irq(unsigned int irq, unsigned int type); |
| 191 | extern 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. */ |
| 188 | extern void suspend_device_irqs(void); | 194 | extern 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 | */ |
| 363 | extern char *softirq_to_name[NR_SOFTIRQS]; | 369 | extern 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 |
