original_kernel/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-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
asm-avr32 Basic PWM driver for AVR32 and AT91 2008-02-08 09:22:38 -08:00
asm-blackfin asm-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
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
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-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
asm-mn10300
asm-parisc asm-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
asm-powerpc asm-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
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-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
asm-um
asm-v850 avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
asm-x86 asm-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
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