[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>
This commit is contained in:
committed by
Linus Torvalds
parent
bc2e2635bd
commit
b98d3396f6
@@ -158,7 +158,7 @@ int request_irq(unsigned int irq,
|
||||
irq_handle->devname = devname;
|
||||
irq_list[irq] = irq_handle;
|
||||
|
||||
if (irq_handle->flags & SA_SAMPLE_RANDOM)
|
||||
if (irq_handle->flags & IRQF_SAMPLE_RANDOM)
|
||||
rand_initialize_irq(irq);
|
||||
|
||||
enable_irq(irq);
|
||||
@@ -222,7 +222,7 @@ asmlinkage void process_int(int irq, struct pt_regs *fp)
|
||||
if (irq_list[irq]) {
|
||||
irq_list[irq]->handler(irq, irq_list[irq]->dev_id, fp);
|
||||
irq_list[irq]->count++;
|
||||
if (irq_list[irq]->flags & SA_SAMPLE_RANDOM)
|
||||
if (irq_list[irq]->flags & IRQF_SAMPLE_RANDOM)
|
||||
add_interrupt_randomness(irq);
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user