diff options
| author | Ralf Baechle <[email protected]> | 2008-02-08 04:22:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-08 09:22:42 -0800 |
| commit | 46f4f8f665080900e865392f4b3593be463bf0d8 (patch) | |
| tree | d4d1cb04b461b4ddd841396647d911fdc08819ef /net/lapb/lapb_iface.c | |
| parent | 922f9cfa79b52c85b6002d96cb0eefd13437c58c (diff) | |
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 <[email protected]>
Acked-and-tested-by: Rob Landley <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions