mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Yoshinori Sato <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
bc2e2635bd
commit
b98d3396f6
3 changed files with 4 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ int request_irq(unsigned int irq,
|
|||
irq_handle->dev_id = dev_id;
|
||||
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 interrupt */
|
||||
|
|
@ -270,7 +270,7 @@ asmlinkage void process_int(unsigned long vec, struct pt_regs *fp)
|
|||
if (irq_list[vec]) {
|
||||
irq_list[vec]->handler(vec, irq_list[vec]->dev_id, fp);
|
||||
irq_list[vec]->count++;
|
||||
if (irq_list[vec]->flags & SA_SAMPLE_RANDOM)
|
||||
if (irq_list[vec]->flags & IRQF_SAMPLE_RANDOM)
|
||||
add_interrupt_randomness(vec);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue