diff options
author | David Howells <dhowells@redhat.com> | 2010-10-27 12:28:58 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2010-10-27 12:28:58 -0400 |
commit | 6044cf1d9426dfd5cdc1e7b9cf8eaed6418e1ff6 (patch) | |
tree | 3f6f209d37328ce1635df8f5d0b5df1cef1afe30 /arch/mn10300/include | |
parent | 730c1fad0ee22a170d2ee76a904709ee304931c0 (diff) |
MN10300: ASB2364: Handle the IRQ multiplexer in the FPGA
Handle the IRQ multiplexer in the FPGA by implementing a cascade interrupt
driver for it.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/include')
-rw-r--r-- | arch/mn10300/include/asm/irq.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/mn10300/include/asm/irq.h b/arch/mn10300/include/asm/irq.h index b7b8e175b167..1a73fb3f60c6 100644 --- a/arch/mn10300/include/asm/irq.h +++ b/arch/mn10300/include/asm/irq.h | |||
@@ -21,11 +21,15 @@ | |||
21 | /* this number is used when no interrupt has been assigned */ | 21 | /* this number is used when no interrupt has been assigned */ |
22 | #define NO_IRQ INT_MAX | 22 | #define NO_IRQ INT_MAX |
23 | 23 | ||
24 | /* hardware irq numbers */ | 24 | /* |
25 | #ifdef CONFIG_SMP | 25 | * hardware irq numbers |
26 | #define NR_IRQS GxICR_NUM_EXT_IRQS | 26 | * - the ASB2364 has an FPGA with an IRQ multiplexer on it |
27 | */ | ||
28 | #ifdef CONFIG_MN10300_UNIT_ASB2364 | ||
29 | #include <unit/irq.h> | ||
27 | #else | 30 | #else |
28 | #define NR_IRQS GxICR_NUM_IRQS | 31 | #define NR_CPU_IRQS GxICR_NUM_IRQS |
32 | #define NR_IRQS NR_CPU_IRQS | ||
29 | #endif | 33 | #endif |
30 | 34 | ||
31 | /* external hardware irq numbers */ | 35 | /* external hardware irq numbers */ |