diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-03 14:27:44 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 14:58:10 +0300 |
commit | 87923470c712dff00b101ffb6b6fbc27bd7a6df5 (patch) | |
tree | 35dc1a0adec4d00bbc872ce096c481cf0d69314a /kernel/irq/internals.h | |
parent | 4699923861513671d3f6ade8efb4e56a9a7ecadf (diff) | |
download | linux-87923470c712dff00b101ffb6b6fbc27bd7a6df5.tar.xz |
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); 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); |