aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r--kernel/irq/internals.h14
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: */
11extern void compat_irq_chip_set_default_handler(struct irq_desc *desc); 11extern void compat_irq_chip_set_default_handler(struct irq_desc *desc);
12 12
13extern int __irq_set_trigger(struct irq_desc *desc, unsigned int irq,
14 unsigned long flags);
15
16extern struct lock_class_key irq_desc_lock_class;
17extern void init_kstat_irqs(struct irq_desc *desc, int cpu, int nr);
18extern spinlock_t sparse_irq_lock;
19extern struct irq_desc *irq_desc_ptrs[NR_IRQS];
20
13#ifdef CONFIG_PROC_FS 21#ifdef CONFIG_PROC_FS
14extern void register_irq_proc(unsigned int irq); 22extern void register_irq_proc(unsigned int irq, struct irq_desc *desc);
15extern void register_handler_proc(unsigned int irq, struct irqaction *action); 23extern void register_handler_proc(unsigned int irq, struct irqaction *action);
16extern void unregister_handler_proc(unsigned int irq, struct irqaction *action); 24extern void unregister_handler_proc(unsigned int irq, struct irqaction *action);
17#else 25#else
18static inline void register_irq_proc(unsigned int irq) { } 26static inline void register_irq_proc(unsigned int irq, struct irq_desc *desc) { }
19static inline void register_handler_proc(unsigned int irq, 27static inline void register_handler_proc(unsigned int irq,
20 struct irqaction *action) { } 28 struct irqaction *action) { }
21static inline void unregister_handler_proc(unsigned int irq, 29static inline void unregister_handler_proc(unsigned int irq,
22 struct irqaction *action) { } 30 struct irqaction *action) { }
23#endif 31#endif
24 32
33extern int irq_select_affinity_usr(unsigned int irq);
34
25/* 35/*
26 * Debugging printout: 36 * Debugging printout:
27 */ 37 */