aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-03 06:27:44 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:10 -0500
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 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
41extern int irq_startup(struct irq_desc *desc); 41extern int irq_startup(struct irq_desc *desc);
42extern void irq_shutdown(struct irq_desc *desc); 42extern void irq_shutdown(struct irq_desc *desc);
43extern void irq_enable(struct irq_desc *desc);
44extern void irq_disable(struct irq_desc *desc);
43 45
44extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr); 46extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr);
45 47