You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] irq-flags: M68K: 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: Roman Zippel <zippel@linux-m68k.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> 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
f6f238875c
commit
b0b9fdc123
@@ -22,7 +22,7 @@
|
||||
*
|
||||
* 07/08/99: rewamp of the interrupt handling - we now have two types of
|
||||
* interrupts, normal and fast handlers, fast handlers being
|
||||
* marked with SA_INTERRUPT and runs with all other interrupts
|
||||
* marked with IRQF_DISABLED and runs with all other interrupts
|
||||
* disabled. Normal interrupts disable their own source but
|
||||
* run with all other interrupt sources enabled.
|
||||
* PORTS and EXTER interrupts are always shared even if the
|
||||
|
||||
@@ -176,5 +176,5 @@ void __init cia_init_IRQ(struct ciabase *base)
|
||||
/* override auto int and install CIA handler */
|
||||
m68k_setup_irq_controller(&auto_irq_controller, base->handler_irq, 1);
|
||||
m68k_irq_startup(base->handler_irq);
|
||||
request_irq(base->handler_irq, cia_handler, SA_SHIRQ, base->name, base);
|
||||
request_irq(base->handler_irq, cia_handler, IRQF_SHARED, base->name, base);
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ int setup_irq(unsigned int irq, struct irq_node *node)
|
||||
prev = irq_list + irq;
|
||||
if (*prev) {
|
||||
/* Can't share interrupts unless both agree to */
|
||||
if (!((*prev)->flags & node->flags & SA_SHIRQ)) {
|
||||
if (!((*prev)->flags & node->flags & IRQF_SHARED)) {
|
||||
spin_unlock_irqrestore(&contr->lock, flags);
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user