summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-11-07 16:53:00 +0000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-09 15:11:44 -0800
commitb2f051ae390432789f2b02fe451aa23ae2698e3d (patch)
tree8654a792f596a2bdd4a505d49f56935ff0c6ce37 /include
parenta90fcf311199b0199e94e78fca899abf2aeb852b (diff)
downloadlinux-3.10-b2f051ae390432789f2b02fe451aa23ae2698e3d.tar.gz
linux-3.10-b2f051ae390432789f2b02fe451aa23ae2698e3d.tar.bz2
linux-3.10-b2f051ae390432789f2b02fe451aa23ae2698e3d.zip
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')
-rw-r--r--include/asm-frv/irq.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-frv/irq.h b/include/asm-frv/irq.h
index 8fefd6b827a..3a66ebd754b 100644
--- a/include/asm-frv/irq.h
+++ b/include/asm-frv/irq.h
@@ -12,9 +12,6 @@
#ifndef _ASM_IRQ_H_
#define _ASM_IRQ_H_
-/* this number is used when no interrupt has been assigned */
-#define NO_IRQ (-1)
-
#define NR_IRQS 48
#define IRQ_BASE_CPU (0 * 16)
#define IRQ_BASE_FPGA (1 * 16)