aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-07 15:02:10 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:16 -0500
commit3d67baec7f1b01fc289ac1a2f1a7e6d5e43391c6 (patch)
treef496998278faa653174e185924acb0c74ac2e1b2 /kernel/irq/internals.h
parent009b4c3b8ad584b3462734127a5bec680d5d6af4 (diff)
genirq: Move IRQ_ONESHOT to core
No users outside of core. 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 d1cb1f8df6fe..36563f731ff8 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -42,12 +42,14 @@ enum {
42 * detection 42 * detection
43 * IRQS_POLL_INPROGRESS - polling in progress 43 * IRQS_POLL_INPROGRESS - polling in progress
44 * IRQS_INPROGRESS - Interrupt in progress 44 * IRQS_INPROGRESS - Interrupt in progress
45 * IRQS_ONESHOT - irq is not unmasked in primary handler
45 */ 46 */
46enum { 47enum {
47 IRQS_AUTODETECT = 0x00000001, 48 IRQS_AUTODETECT = 0x00000001,
48 IRQS_SPURIOUS_DISABLED = 0x00000002, 49 IRQS_SPURIOUS_DISABLED = 0x00000002,
49 IRQS_POLL_INPROGRESS = 0x00000008, 50 IRQS_POLL_INPROGRESS = 0x00000008,
50 IRQS_INPROGRESS = 0x00000010, 51 IRQS_INPROGRESS = 0x00000010,
52 IRQS_ONESHOT = 0x00000020,
51}; 53};
52 54
53#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) 55#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data)