diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-03 06:27:44 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:10 -0500 |
commit | 87923470c712dff00b101ffb6b6fbc27bd7a6df5 (patch) | |
tree | 35dc1a0adec4d00bbc872ce096c481cf0d69314a /kernel/irq/internals.h | |
parent | 4699923861513671d3f6ade8efb4e56a9a7ecadf (diff) |
genirq: Consolidate disable/enable
Create irq_disable/enable and use them to keep the flags consistent.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 5cbfc93ed7b1..c71fc4de0371 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -40,6 +40,8 @@ extern void __enable_irq(struct irq_desc *desc, unsigned int irq, bool resume); | |||
40 | 40 | ||
41 | extern int irq_startup(struct irq_desc *desc); | 41 | extern int irq_startup(struct irq_desc *desc); |
42 | extern void irq_shutdown(struct irq_desc *desc); | 42 | extern void irq_shutdown(struct irq_desc *desc); |
43 | extern void irq_enable(struct irq_desc *desc); | ||
44 | extern void irq_disable(struct irq_desc *desc); | ||
43 | 45 | ||
44 | extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr); | 46 | extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr); |
45 | 47 | ||