diff options
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 08a849a22447..e6d0a43cc125 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -10,18 +10,28 @@ extern void irq_chip_set_defaults(struct irq_chip *chip); | |||
10 | /* Set default handler: */ | 10 | /* Set default handler: */ |
11 | extern void compat_irq_chip_set_default_handler(struct irq_desc *desc); | 11 | extern void compat_irq_chip_set_default_handler(struct irq_desc *desc); |
12 | 12 | ||
13 | extern int __irq_set_trigger(struct irq_desc *desc, unsigned int irq, | ||
14 | unsigned long flags); | ||
15 | |||
16 | extern struct lock_class_key irq_desc_lock_class; | ||
17 | extern void init_kstat_irqs(struct irq_desc *desc, int cpu, int nr); | ||
18 | extern spinlock_t sparse_irq_lock; | ||
19 | extern struct irq_desc *irq_desc_ptrs[NR_IRQS]; | ||
20 | |||
13 | #ifdef CONFIG_PROC_FS | 21 | #ifdef CONFIG_PROC_FS |
14 | extern void register_irq_proc(unsigned int irq); | 22 | extern void register_irq_proc(unsigned int irq, struct irq_desc *desc); |
15 | extern void register_handler_proc(unsigned int irq, struct irqaction *action); | 23 | extern void register_handler_proc(unsigned int irq, struct irqaction *action); |
16 | extern void unregister_handler_proc(unsigned int irq, struct irqaction *action); | 24 | extern void unregister_handler_proc(unsigned int irq, struct irqaction *action); |
17 | #else | 25 | #else |
18 | static inline void register_irq_proc(unsigned int irq) { } | 26 | static inline void register_irq_proc(unsigned int irq, struct irq_desc *desc) { } |
19 | static inline void register_handler_proc(unsigned int irq, | 27 | static inline void register_handler_proc(unsigned int irq, |
20 | struct irqaction *action) { } | 28 | struct irqaction *action) { } |
21 | static inline void unregister_handler_proc(unsigned int irq, | 29 | static inline void unregister_handler_proc(unsigned int irq, |
22 | struct irqaction *action) { } | 30 | struct irqaction *action) { } |
23 | #endif | 31 | #endif |
24 | 32 | ||
33 | extern int irq_select_affinity_usr(unsigned int irq); | ||
34 | |||
25 | /* | 35 | /* |
26 | * Debugging printout: | 36 | * Debugging printout: |
27 | */ | 37 | */ |