summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/octeon/octeon.h
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2012-04-05 02:34:41 +0400
committerDavid Daney <david.daney@cavium.com>2012-08-31 21:46:54 +0400
commit88fd85892a55730878fc081eee62553eb18f1b9c (patch)
tree804e3017ac80929504c3035e66b393fd286da98c /arch/mips/include/asm/octeon/octeon.h
parent9787c56ee376bfc3ed110c2723462361b700d7d2 (diff)
downloadlinux-88fd85892a55730878fc081eee62553eb18f1b9c.tar.xz
MIPS: OCTEON: Add support for cn68XX interrupt controller.
The cn68XX has a new interrupt controller named CIU2, add support for this, and use it if cn68XX detected at runtime. Signed-off-by: David Daney <david.daney@cavium.com>
Diffstat (limited to 'arch/mips/include/asm/octeon/octeon.h')
-rw-r--r--arch/mips/include/asm/octeon/octeon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/octeon/octeon.h b/arch/mips/include/asm/octeon/octeon.h
index 1e2486e23573..e937e86e8538 100644
--- a/arch/mips/include/asm/octeon/octeon.h
+++ b/arch/mips/include/asm/octeon/octeon.h
@@ -254,4 +254,7 @@ extern uint64_t octeon_bootloader_entry_addr;
extern void (*octeon_irq_setup_secondary)(void);
+typedef void (*octeon_irq_ip4_handler_t)(void);
+void octeon_irq_set_ip4_handler(octeon_irq_ip4_handler_t);
+
#endif /* __ASM_OCTEON_OCTEON_H */