aboutsummaryrefslogtreecommitdiff
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-03 12:27:44 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 12:58:10 +0100
commit87923470c712dff00b101ffb6b6fbc27bd7a6df5 (patch)
tree35dc1a0adec4d00bbc872ce096c481cf0d69314a /kernel/irq/internals.h
parent4699923861513671d3f6ade8efb4e56a9a7ecadf (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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index 5cbfc93ed7b..c71fc4de037 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);
extern int irq_startup(struct irq_desc *desc);
extern void irq_shutdown(struct irq_desc *desc);
+extern void irq_enable(struct irq_desc *desc);
+extern void irq_disable(struct irq_desc *desc);
extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr);