The patch titled irq-flags: M68K: Use the new IRQF_ constansts has been added to the -mm tree. Its filename is irq-flags-m68k-use-the-new-irqf_-constansts.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: irq-flags: M68K: Use the new IRQF_ constansts From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Use the new IRQF_ constants and remove the SA_INTERRUPT define Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Roman Zippel <zippel@xxxxxxxxxxxxxx> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/m68k/amiga/amiints.c | 2 +- arch/m68k/amiga/cia.c | 2 +- arch/m68k/kernel/ints.c | 2 +- include/asm-m68k/floppy.h | 4 ++-- include/asm-m68k/irq.h | 4 ++-- include/asm-m68k/signal.h | 2 -- include/asm-m68k/sun3xflop.h | 3 ++- 7 files changed, 9 insertions(+), 10 deletions(-) diff -puN arch/m68k/amiga/amiints.c~irq-flags-m68k-use-the-new-irqf_-constansts arch/m68k/amiga/amiints.c --- a/arch/m68k/amiga/amiints.c~irq-flags-m68k-use-the-new-irqf_-constansts +++ a/arch/m68k/amiga/amiints.c @@ -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 diff -puN arch/m68k/amiga/cia.c~irq-flags-m68k-use-the-new-irqf_-constansts arch/m68k/amiga/cia.c --- a/arch/m68k/amiga/cia.c~irq-flags-m68k-use-the-new-irqf_-constansts +++ a/arch/m68k/amiga/cia.c @@ -176,5 +176,5 @@ void __init cia_init_IRQ(struct ciabase /* 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); } diff -puN arch/m68k/kernel/ints.c~irq-flags-m68k-use-the-new-irqf_-constansts arch/m68k/kernel/ints.c --- a/arch/m68k/kernel/ints.c~irq-flags-m68k-use-the-new-irqf_-constansts +++ a/arch/m68k/kernel/ints.c @@ -192,7 +192,7 @@ int setup_irq(unsigned int irq, struct i 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; } diff -puN include/asm-m68k/floppy.h~irq-flags-m68k-use-the-new-irqf_-constansts include/asm-m68k/floppy.h --- a/include/asm-m68k/floppy.h~irq-flags-m68k-use-the-new-irqf_-constansts +++ a/include/asm-m68k/floppy.h @@ -88,8 +88,8 @@ static __inline__ void fd_outb(unsigned static int fd_request_irq(void) { if(MACH_IS_Q40) - return request_irq(FLOPPY_IRQ, floppy_hardint,SA_INTERRUPT, - "floppy", floppy_hardint); + return request_irq(FLOPPY_IRQ, floppy_hardint, + IRQF_DISABLED, "floppy", floppy_hardint); else if(MACH_IS_SUN3X) return sun3xflop_request_irq(); return -ENXIO; diff -puN include/asm-m68k/irq.h~irq-flags-m68k-use-the-new-irqf_-constansts include/asm-m68k/irq.h --- a/include/asm-m68k/irq.h~irq-flags-m68k-use-the-new-irqf_-constansts +++ a/include/asm-m68k/irq.h @@ -67,8 +67,8 @@ struct pt_regs; /* * various flags for request_irq() - the Amiga now uses the standard - * mechanism like all other architectures - SA_INTERRUPT and SA_SHIRQ - * are your friends. + * mechanism like all other architectures - IRQF_DISABLED and + * IRQF_SHARED are your friends. */ #ifndef MACH_AMIGA_ONLY #define IRQ_FLG_LOCK (0x0001) /* handler is not replaceable */ diff -puN include/asm-m68k/signal.h~irq-flags-m68k-use-the-new-irqf_-constansts include/asm-m68k/signal.h --- a/include/asm-m68k/signal.h~irq-flags-m68k-use-the-new-irqf_-constansts +++ a/include/asm-m68k/signal.h @@ -74,7 +74,6 @@ typedef unsigned long sigset_t; * SA_FLAGS values: * * SA_ONSTACK indicates that a registered stack_t will be used. - * SA_INTERRUPT is a no-op, but left due to historical reasons. Use the * SA_RESTART flag to get restarting signals (which were the default long ago) * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. * SA_RESETHAND clears the handler when the signal is delivered. @@ -94,7 +93,6 @@ typedef unsigned long sigset_t; #define SA_NOMASK SA_NODEFER #define SA_ONESHOT SA_RESETHAND -#define SA_INTERRUPT 0x20000000 /* dummy -- ignored */ /* * sigaltstack controls diff -puN include/asm-m68k/sun3xflop.h~irq-flags-m68k-use-the-new-irqf_-constansts include/asm-m68k/sun3xflop.h --- a/include/asm-m68k/sun3xflop.h~irq-flags-m68k-use-the-new-irqf_-constansts +++ a/include/asm-m68k/sun3xflop.h @@ -208,7 +208,8 @@ static int sun3xflop_request_irq(void) if(!once) { once = 1; - error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, SA_INTERRUPT, "floppy", NULL); + error = request_irq(FLOPPY_IRQ, sun3xflop_hardint, + IRQF_DISABLED, "floppy", NULL); return ((error == 0) ? 0 : -1); } else return 0; } _ Patches currently in -mm which might be from tglx@xxxxxxxxxxxxx are origin.patch irq-use-sa_percpu_irq-not-irq_per_cpu-for-irqactionflags.patch irq-warning-message-cleanup.patch irq-flags-consolidate-flags-for-request_irq.patch irq-flags-alpha-use-the-new-irqf_-constansts.patch irq-flags-arm26-use-the-new-irqf_-constansts.patch irq-flags-arm-use-the-new-irqf_-constansts.patch irq-flags-chris-use-the-new-irqf_-constansts.patch irq-flags-frv-use-the-new-irqf_-constansts.patch irq-flags-h8300-use-the-new-irqf_-constansts.patch irq-flags-i386-use-the-new-irqf_-constansts.patch irq-flags-ia64-use-the-new-irqf_-constansts.patch irq-flags-m32r-use-the-new-irqf_-constansts.patch irq-flags-m68knommu-use-the-new-irqf_-constansts.patch irq-flags-m68k-use-the-new-irqf_-constansts.patch irq-flags-mips-use-the-new-irqf_-constansts.patch irq-flags-parisc-use-the-new-irqf_-constansts.patch irq-flags-powerpc-use-the-new-irqf_-constansts.patch irq-flags-ppc-use-the-new-irqf_-constansts.patch irq-flags-s390-use-the-new-irqf_-constansts.patch irq-flags-sh64-use-the-new-irqf_-constansts.patch irq-flags-sh-use-the-new-irqf_-constansts.patch irq-flags-sparc64-use-the-new-irqf_-constansts.patch irq-flags-sparc-use-the-new-irqf_-constansts.patch irq-flags-um-use-the-new-irqf_-constansts.patch irq-flags-v850-use-the-new-irqf_-constansts.patch irq-flags-x86_64-use-the-new-irqf_-constansts.patch irq-flags-xtensa-use-the-new-irqf_-constansts.patch irq-flags-generic-irq-use-the-new-irqf_-constansts.patch irq-flags-drivers-block-use-the-new-irqf_-constansts.patch irq-flags-drivers-char-use-the-new-irqf_-constansts.patch irq-flags-drivers-drm-use-the-new-irqf_-constansts.patch irq-flags-ide-use-the-new-irqf_-constansts.patch irq-flags-firewire-use-the-new-irqf_-constansts.patch irq-flags-isdn-use-the-new-irqf_-constansts.patch irq-flags-media-use-the-new-irqf_-constansts.patch irq-flags-misc-drivers-use-the-new-irqf_-constansts.patch irq-flags-drivers-net-use-the-new-irqf_-constansts.patch irq-flags-parisc-use-the-new-irqf_-constansts-2.patch irq-flags-pci-use-the-new-irqf_-constansts.patch irq-flags-rio-use-the-new-irqf_-constansts.patch irq-flags-scsi-use-the-new-irqf_-constansts.patch irq-flags-serial-use-the-new-irqf_-constansts.patch irq-flags-usb-use-the-new-irqf_-constansts.patch irq-flags-video-use-the-new-irqf_-constansts.patch irq-flags-sound-use-the-new-irqf_-constansts.patch irq-flags-documentation-use-the-new-irqf_-constansts.patch git-mtd.patch lockdep-add-disable-enable_irq_lockdep-api.patch genirq-convert-the-x86_64-architecture-to-irq-chips.patch genirq-convert-the-i386-architecture-to-irq-chips.patch genirq-irq-convert-the-move_irq-flag-from-a-32bit-word-to-a-single-bit.patch genirq-irq-add-moved_masked_irq.patch genirq-x86_64-irq-reenable-migrating-irqs-to-other-cpus.patch genirq-x86_64-irq-reenable-migrating-irqs-to-other-cpus-fix.patch genirq-msi-simplify-msi-enable-and-disable.patch genirq-msi-simplify-msi-enable-and-disable-fix.patch genirq-msi-make-the-msi-boolean-tests-return-either-0-or-1.patch genirq-msi-implement-helper-functions-read_msi_msg-and-write_msi_msg.patch genirq-msi-refactor-the-msi_ops.patch genirq-msi-simplify-the-msi-irq-limit-policy.patch genirq-irq-add-a-dynamic-irq-creation-api.patch genirq-ia64-irq-dynamic-irq-support.patch genirq-ia64-irq-dynamic-irq-support-fix.patch genirq-i386-irq-dynamic-irq-support.patch genirq-i386-irq-dynamic-irq-support-fix.patch genirq-x86_64-irq-dynamic-irq-support.patch genirq-msi-make-the-msi-code-irq-based-and-not-vector-based.patch genirq-x86_64-irq-move-msi-message-composition-into-io_apicc.patch genirq-i386-irq-move-msi-message-composition-into-io_apicc.patch genirq-msi-only-build-msi-apicc-on-ia64.patch genirq-x86_64-irq-remove-the-msi-assumption-that-irq-==-vector.patch genirq-i386-irq-remove-the-msi-assumption-that-irq-==-vector.patch genirq-i386-irq-remove-the-msi-assumption-that-irq-==-vector-fix.patch genirq-irq-remove-msi-hacks.patch genirq-irq-generalize-the-check-for-hardirq_bits.patch genirq-x86_64-irq-make-the-external-irq-handlers-report-their-vector-not-the-irq-number.patch genirq-x86_64-irq-make-vector_irq-per-cpu.patch genirq-x86_64-irq-kill-gsi_irq_sharing.patch genirq-x86_64-irq-kill-irq-compression.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html