diff options
author | David Howells <dhowells@redhat.com> | 2012-03-28 18:30:02 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-03-28 18:30:02 +0100 |
commit | b81947c646bfefdf98e2fde5d7d39cbbda8525d4 (patch) | |
tree | 944890e7a466af7512e878fa4f71bca1b0f7a600 /arch/mips/include/asm/setup.h | |
parent | c40d04df152a1111c5bbcb632278394dabd2b73d (diff) | |
download | blackbird-op-linux-b81947c646bfefdf98e2fde5d7d39cbbda8525d4.tar.gz blackbird-op-linux-b81947c646bfefdf98e2fde5d7d39cbbda8525d4.zip |
Disintegrate asm/system.h for MIPS
Disintegrate asm/system.h for MIPS.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/include/asm/setup.h')
-rw-r--r-- | arch/mips/include/asm/setup.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/include/asm/setup.h b/arch/mips/include/asm/setup.h index 50511aac04e9..6dce6d8d09ab 100644 --- a/arch/mips/include/asm/setup.h +++ b/arch/mips/include/asm/setup.h @@ -5,6 +5,17 @@ #ifdef __KERNEL__ extern void setup_early_printk(void); + +extern void set_handler(unsigned long offset, void *addr, unsigned long len); +extern void set_uncached_handler(unsigned long offset, void *addr, unsigned long len); + +typedef void (*vi_handler_t)(void); +extern void *set_vi_handler(int n, vi_handler_t addr); + +extern void *set_except_vector(int n, void *addr); +extern unsigned long ebase; +extern void per_cpu_trap_init(void); + #endif /* __KERNEL__ */ #endif /* __SETUP_H */ |