diff options
Diffstat (limited to 'kernel/irq/internals.h')
| -rw-r--r-- | kernel/irq/internals.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index ddf1ffeb79f1..099ea2e0eb88 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
| @@ -33,7 +33,7 @@ enum { | |||
| 33 | }; | 33 | }; |
| 34 | 34 | ||
| 35 | /* | 35 | /* |
| 36 | * Bit masks for desc->state | 36 | * Bit masks for desc->core_internal_state__do_not_mess_with_it |
| 37 | * | 37 | * |
| 38 | * IRQS_AUTODETECT - autodetection in progress | 38 | * IRQS_AUTODETECT - autodetection in progress |
| 39 | * IRQS_SPURIOUS_DISABLED - was disabled due to spurious interrupt | 39 | * IRQS_SPURIOUS_DISABLED - was disabled due to spurious interrupt |
| @@ -76,6 +76,12 @@ extern void mask_irq(struct irq_desc *desc); | |||
| 76 | extern void unmask_irq(struct irq_desc *desc); | 76 | extern void unmask_irq(struct irq_desc *desc); |
| 77 | extern void unmask_threaded_irq(struct irq_desc *desc); | 77 | extern void unmask_threaded_irq(struct irq_desc *desc); |
| 78 | 78 | ||
| 79 | #ifdef CONFIG_SPARSE_IRQ | ||
| 80 | static inline void irq_mark_irq(unsigned int irq) { } | ||
| 81 | #else | ||
| 82 | extern void irq_mark_irq(unsigned int irq); | ||
| 83 | #endif | ||
| 84 | |||
| 79 | extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr); | 85 | extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr); |
| 80 | 86 | ||
| 81 | irqreturn_t handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action); | 87 | irqreturn_t handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action); |
