diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-10-17 02:42:12 +0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2014-01-14 10:19:52 -0800 |
commit | c4ee0af3fa0dc65f690fc908f02b8355f9576ea0 (patch) | |
tree | 1840e8b35fdfb275d8ab4838997cded3e700bfb2 | |
parent | 220c062688c31bbf992921fca172ddd1e609f8f6 (diff) | |
download | op-kernel-dev-c4ee0af3fa0dc65f690fc908f02b8355f9576ea0.zip op-kernel-dev-c4ee0af3fa0dc65f690fc908f02b8355f9576ea0.tar.gz |
xtensa: remove NO_IRQ definitions
These definitions (-1) were correct when used as a hardware IRQ number,
but are incorrect as a mapped IRQ number.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
-rw-r--r-- | arch/xtensa/platforms/xtfpga/include/platform/hardware.h | 4 | ||||
-rw-r--r-- | arch/xtensa/variants/s6000/include/variant/irq.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h index 4416773..4b43ff1 100644 --- a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h +++ b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h @@ -15,10 +15,6 @@ #ifndef __XTENSA_XTAVNET_HARDWARE_H #define __XTENSA_XTAVNET_HARDWARE_H -/* By default NO_IRQ is defined to 0 in Linux, but we use the - interrupt 0 for UART... */ -#define NO_IRQ -1 - /* Memory configuration. */ #define PLATFORM_DEFAULT_MEM_START 0x00000000 diff --git a/arch/xtensa/variants/s6000/include/variant/irq.h b/arch/xtensa/variants/s6000/include/variant/irq.h index 97d6fc4..39ca751a 100644 --- a/arch/xtensa/variants/s6000/include/variant/irq.h +++ b/arch/xtensa/variants/s6000/include/variant/irq.h @@ -1,7 +1,6 @@ #ifndef _XTENSA_S6000_IRQ_H #define _XTENSA_S6000_IRQ_H -#define NO_IRQ (-1) #define VARIANT_NR_IRQS 8 /* GPIO interrupts */ extern void variant_irq_enable(unsigned int irq); |