Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

frv: Remove bogus NO_IRQ = -1 define

The old NO_IRQ define some platforms had was long ago declared obsolete
and wrong. FRV should therefore not be re-introducing this, especially as
IRQs are usually unsigned in the kernel. The "no IRQ" case is defined to be
zero and Linus made this rather clear at the time.

arch/frv shows no dependancy on this but it might show up driver fixes
needing doing I guess

Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alan Cox and committed by
Linus Torvalds
b2f051ae a90fcf31

-3
-3
include/asm-frv/irq.h
··· 12 12 #ifndef _ASM_IRQ_H_ 13 13 #define _ASM_IRQ_H_ 14 14 15 - /* this number is used when no interrupt has been assigned */ 16 - #define NO_IRQ (-1) 17 - 18 15 #define NR_IRQS 48 19 16 #define IRQ_BASE_CPU (0 * 16) 20 17 #define IRQ_BASE_FPGA (1 * 16)