diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-11-07 11:53:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-09 18:11:44 -0500 |
commit | b2f051ae390432789f2b02fe451aa23ae2698e3d (patch) | |
tree | 8654a792f596a2bdd4a505d49f56935ff0c6ce37 /include/asm-frv | |
parent | a90fcf311199b0199e94e78fca899abf2aeb852b (diff) |
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>
Diffstat (limited to 'include/asm-frv')
-rw-r--r-- | include/asm-frv/irq.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-frv/irq.h b/include/asm-frv/irq.h index 8fefd6b827aa..3a66ebd754bd 100644 --- a/include/asm-frv/irq.h +++ b/include/asm-frv/irq.h | |||
@@ -12,9 +12,6 @@ | |||
12 | #ifndef _ASM_IRQ_H_ | 12 | #ifndef _ASM_IRQ_H_ |
13 | #define _ASM_IRQ_H_ | 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 | #define NR_IRQS 48 | 15 | #define NR_IRQS 48 |
19 | #define IRQ_BASE_CPU (0 * 16) | 16 | #define IRQ_BASE_CPU (0 * 16) |
20 | #define IRQ_BASE_FPGA (1 * 16) | 17 | #define IRQ_BASE_FPGA (1 * 16) |