diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 22:29:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-02 16:58:49 -0400 |
commit | 3cca53b02a5bab0f407b1add2f84c22c20243a79 (patch) | |
tree | 06d375432c8c5c8895378e0b5049920e73211b2d /kernel/irq/handle.c | |
parent | 85ac3ab254405edcc7bef7d61b03930247882efc (diff) |
[PATCH] irq-flags: generic irq: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r-- | kernel/irq/handle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 5a360dd4331b..6070e0464690 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -113,7 +113,7 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, | |||
113 | irqreturn_t ret, retval = IRQ_NONE; | 113 | irqreturn_t ret, retval = IRQ_NONE; |
114 | unsigned int status = 0; | 114 | unsigned int status = 0; |
115 | 115 | ||
116 | if (!(action->flags & SA_INTERRUPT)) | 116 | if (!(action->flags & IRQF_DISABLED)) |
117 | local_irq_enable(); | 117 | local_irq_enable(); |
118 | 118 | ||
119 | do { | 119 | do { |
@@ -124,7 +124,7 @@ irqreturn_t handle_IRQ_event(unsigned int irq, struct pt_regs *regs, | |||
124 | action = action->next; | 124 | action = action->next; |
125 | } while (action); | 125 | } while (action); |
126 | 126 | ||
127 | if (status & SA_SAMPLE_RANDOM) | 127 | if (status & IRQF_SAMPLE_RANDOM) |
128 | add_interrupt_randomness(irq); | 128 | add_interrupt_randomness(irq); |
129 | local_irq_disable(); | 129 | local_irq_disable(); |
130 | 130 | ||