diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/cpu/irq/intc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/irq/intc.c b/arch/sh/kernel/cpu/irq/intc.c index df3695406d80..e5a4912d665f 100644 --- a/arch/sh/kernel/cpu/irq/intc.c +++ b/arch/sh/kernel/cpu/irq/intc.c | |||
@@ -302,7 +302,12 @@ static unsigned char intc_irq_sense_table[IRQ_TYPE_SENSE_MASK + 1] = { | |||
302 | [IRQ_TYPE_EDGE_FALLING] = VALID(0), | 302 | [IRQ_TYPE_EDGE_FALLING] = VALID(0), |
303 | [IRQ_TYPE_EDGE_RISING] = VALID(1), | 303 | [IRQ_TYPE_EDGE_RISING] = VALID(1), |
304 | [IRQ_TYPE_LEVEL_LOW] = VALID(2), | 304 | [IRQ_TYPE_LEVEL_LOW] = VALID(2), |
305 | /* SH7706, SH7707 and SH7709 do not support high level triggered */ | ||
306 | #if !defined(CONFIG_CPU_SUBTYPE_SH7706) && \ | ||
307 | !defined(CONFIG_CPU_SUBTYPE_SH7707) && \ | ||
308 | !defined(CONFIG_CPU_SUBTYPE_SH7709) | ||
305 | [IRQ_TYPE_LEVEL_HIGH] = VALID(3), | 309 | [IRQ_TYPE_LEVEL_HIGH] = VALID(3), |
310 | #endif | ||
306 | }; | 311 | }; |
307 | 312 | ||
308 | static int intc_set_sense(unsigned int irq, unsigned int type) | 313 | static int intc_set_sense(unsigned int irq, unsigned int type) |