diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 22:29:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-02 16:58:47 -0400 |
commit | b98d3396f69f047163b3a1dc2ffabb7402a244b2 (patch) | |
tree | c9f6949729d8d674ffedd75e313096bffe3174ee /arch/h8300/kernel/ints.c | |
parent | bc2e2635bd814dc893e45e866774883a0a66cd36 (diff) |
[PATCH] irq-flags: H8300: Use the new IRQF_ constants
Use the new IRQF_ constants and remove the SA_INTERRUPT define
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>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/h8300/kernel/ints.c')
-rw-r--r-- | arch/h8300/kernel/ints.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/kernel/ints.c b/arch/h8300/kernel/ints.c index edb3c4170013..1488b6ace18c 100644 --- a/arch/h8300/kernel/ints.c +++ b/arch/h8300/kernel/ints.c | |||
@@ -158,7 +158,7 @@ int request_irq(unsigned int irq, | |||
158 | irq_handle->devname = devname; | 158 | irq_handle->devname = devname; |
159 | irq_list[irq] = irq_handle; | 159 | irq_list[irq] = irq_handle; |
160 | 160 | ||
161 | if (irq_handle->flags & SA_SAMPLE_RANDOM) | 161 | if (irq_handle->flags & IRQF_SAMPLE_RANDOM) |
162 | rand_initialize_irq(irq); | 162 | rand_initialize_irq(irq); |
163 | 163 | ||
164 | enable_irq(irq); | 164 | enable_irq(irq); |
@@ -222,7 +222,7 @@ asmlinkage void process_int(int irq, struct pt_regs *fp) | |||
222 | if (irq_list[irq]) { | 222 | if (irq_list[irq]) { |
223 | irq_list[irq]->handler(irq, irq_list[irq]->dev_id, fp); | 223 | irq_list[irq]->handler(irq, irq_list[irq]->dev_id, fp); |
224 | irq_list[irq]->count++; | 224 | irq_list[irq]->count++; |
225 | if (irq_list[irq]->flags & SA_SAMPLE_RANDOM) | 225 | if (irq_list[irq]->flags & IRQF_SAMPLE_RANDOM) |
226 | add_interrupt_randomness(irq); | 226 | add_interrupt_randomness(irq); |
227 | } | 227 | } |
228 | } else { | 228 | } else { |