diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-07 16:11:30 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:17 -0500 |
commit | c1594b77e46124bb462f961e536120e471c67446 (patch) | |
tree | 3f52ad5809125ab5be6db1fd4b1212fe6127df66 /kernel/irq/internals.h | |
parent | 163ef3091195f514a06f064b12914597d2644c55 (diff) |
genirq: Move IRQ_DISABLED to core
Keep status in sync until all abusers are fixed.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 54037533af7a..919d2dd0bb33 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -45,6 +45,7 @@ enum { | |||
45 | * IRQS_ONESHOT - irq is not unmasked in primary handler | 45 | * IRQS_ONESHOT - irq is not unmasked in primary handler |
46 | * IRQS_REPLAY - irq is replayed | 46 | * IRQS_REPLAY - irq is replayed |
47 | * IRQS_WAITING - irq is waiting | 47 | * IRQS_WAITING - irq is waiting |
48 | * IRQS_DISABLED - irq is disabled | ||
48 | */ | 49 | */ |
49 | enum { | 50 | enum { |
50 | IRQS_AUTODETECT = 0x00000001, | 51 | IRQS_AUTODETECT = 0x00000001, |
@@ -54,6 +55,7 @@ enum { | |||
54 | IRQS_ONESHOT = 0x00000020, | 55 | IRQS_ONESHOT = 0x00000020, |
55 | IRQS_REPLAY = 0x00000040, | 56 | IRQS_REPLAY = 0x00000040, |
56 | IRQS_WAITING = 0x00000080, | 57 | IRQS_WAITING = 0x00000080, |
58 | IRQS_DISABLED = 0x00000100, | ||
57 | }; | 59 | }; |
58 | 60 | ||
59 | #define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) | 61 | #define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) |
@@ -137,7 +139,6 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc) | |||
137 | print_symbol("%s\n", (unsigned long)desc->action->handler); | 139 | print_symbol("%s\n", (unsigned long)desc->action->handler); |
138 | } | 140 | } |
139 | 141 | ||
140 | P(IRQ_DISABLED); | ||
141 | P(IRQ_PENDING); | 142 | P(IRQ_PENDING); |
142 | P(IRQ_LEVEL); | 143 | P(IRQ_LEVEL); |
143 | P(IRQ_MASKED); | 144 | P(IRQ_MASKED); |
@@ -152,6 +153,7 @@ static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc) | |||
152 | PS(IRQS_INPROGRESS); | 153 | PS(IRQS_INPROGRESS); |
153 | PS(IRQS_REPLAY); | 154 | PS(IRQS_REPLAY); |
154 | PS(IRQS_WAITING); | 155 | PS(IRQS_WAITING); |
156 | PS(IRQS_DISABLED); | ||
155 | } | 157 | } |
156 | 158 | ||
157 | #undef P | 159 | #undef P |