kernel-ark/include
Ralf Baechle 46f4f8f665 IRQ_NOPROBE helper functions
Probing non-ISA interrupts using the handle_percpu_irq as their handle_irq
method may crash the system because handle_percpu_irq does not check
IRQ_WAITING.  This for example hits the MIPS Qemu configuration.

This patch provides two helper functions set_irq_noprobe and set_irq_probe to
set rsp.  clear the IRQ_NOPROBE flag.  The only current caller is MIPS code
but this really belongs into generic code.

As an aside, interrupt probing these days has become a mostly obsolete if not
dangerous art.  I think Linux interrupts should be changed to default to
non-probing but that's subject of this patch.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Acked-and-tested-by: Rob Landley <rob@landley.net>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:42 -08:00
..
acpi
asm-alpha avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-arm
asm-avr32
asm-blackfin
asm-cris avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-frv avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-generic
asm-h8300 avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-ia64 aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
asm-m32r avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-m68k avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-m68knommu avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-mips
asm-mn10300
asm-parisc
asm-powerpc
asm-ppc
asm-s390
asm-sh
asm-sparc avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-sparc64
asm-um
asm-v850 avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-x86
asm-xtensa avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
crypto
keys
linux IRQ_NOPROBE helper functions 2008-02-08 09:22:42 -08:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
video
xen
Kbuild