summaryrefslogtreecommitdiffstats
path: root/include/asm-frv
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-11-07 17:53:00 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-10 00:11:44 +0100
commitb2f051ae390432789f2b02fe451aa23ae2698e3d (patch)
tree8654a792f596a2bdd4a505d49f56935ff0c6ce37 /include/asm-frv
parentMerge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sp... (diff)
downloadlinux-b2f051ae390432789f2b02fe451aa23ae2698e3d.tar.xz
linux-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/asm-frv')
-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 8fefd6b827aa..3a66ebd754bd 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)