diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-10-16 18:42:12 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2014-01-14 13:19:52 -0500 |
commit | c4ee0af3fa0dc65f690fc908f02b8355f9576ea0 (patch) | |
tree | 1840e8b35fdfb275d8ab4838997cded3e700bfb2 | |
parent | 220c062688c31bbf992921fca172ddd1e609f8f6 (diff) |
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 4416773cbde5..4b43ff133be0 100644 --- a/arch/xtensa/platforms/xtfpga/include/platform/hardware.h +++ b/arch/xtensa/platforms/xtfpga/include/platform/hardware.h | |||
@@ -15,10 +15,6 @@ | |||
15 | #ifndef __XTENSA_XTAVNET_HARDWARE_H | 15 | #ifndef __XTENSA_XTAVNET_HARDWARE_H |
16 | #define __XTENSA_XTAVNET_HARDWARE_H | 16 | #define __XTENSA_XTAVNET_HARDWARE_H |
17 | 17 | ||
18 | /* By default NO_IRQ is defined to 0 in Linux, but we use the | ||
19 | interrupt 0 for UART... */ | ||
20 | #define NO_IRQ -1 | ||
21 | |||
22 | /* Memory configuration. */ | 18 | /* Memory configuration. */ |
23 | 19 | ||
24 | #define PLATFORM_DEFAULT_MEM_START 0x00000000 | 20 | #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 97d6fc48deff..39ca751a6255 100644 --- a/arch/xtensa/variants/s6000/include/variant/irq.h +++ b/arch/xtensa/variants/s6000/include/variant/irq.h | |||
@@ -1,7 +1,6 @@ | |||
1 | #ifndef _XTENSA_S6000_IRQ_H | 1 | #ifndef _XTENSA_S6000_IRQ_H |
2 | #define _XTENSA_S6000_IRQ_H | 2 | #define _XTENSA_S6000_IRQ_H |
3 | 3 | ||
4 | #define NO_IRQ (-1) | ||
5 | #define VARIANT_NR_IRQS 8 /* GPIO interrupts */ | 4 | #define VARIANT_NR_IRQS 8 /* GPIO interrupts */ |
6 | 5 | ||
7 | extern void variant_irq_enable(unsigned int irq); | 6 | extern void variant_irq_enable(unsigned int irq); |