diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-18 02:13:28 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-18 02:13:28 -0400 |
commit | 15dfdddbf0c2be680d5d2fe2bbe3aad3dba3cf0e (patch) | |
tree | 6bbd498194abbb1b3a5c9753705e8228948d8a1f /arch/sh/kernel/traps_32.c | |
parent | 03fdb708926d5df2d9b9e62222c1666e20caa9e3 (diff) |
sh: Disable SCIF2 on the SH-X3 proto CPU.
SCIF2 and the FPU exceptions happen to share vector numbers, one in
EXPEVT and the other in INTEVT. This is a violation of the interface and
should have never made it in to silicon. On top of that, the demux hack
that was added for special dispatch is rather error prone, and introduces
more problems than it solves. Kill all of it off, and just refuse to deal
with SCIF2 outright.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps_32.c')
-rw-r--r-- | arch/sh/kernel/traps_32.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c index 7a2ee3a6b8e7..114d21761823 100644 --- a/arch/sh/kernel/traps_32.c +++ b/arch/sh/kernel/traps_32.c | |||
@@ -945,14 +945,9 @@ void __init trap_init(void) | |||
945 | set_exception_table_evt(0x800, do_reserved_inst); | 945 | set_exception_table_evt(0x800, do_reserved_inst); |
946 | set_exception_table_evt(0x820, do_illegal_slot_inst); | 946 | set_exception_table_evt(0x820, do_illegal_slot_inst); |
947 | #elif defined(CONFIG_SH_FPU) | 947 | #elif defined(CONFIG_SH_FPU) |
948 | #ifdef CONFIG_CPU_SUBTYPE_SHX3 | ||
949 | set_exception_table_evt(0xd80, fpu_state_restore_trap_handler); | ||
950 | set_exception_table_evt(0xda0, fpu_state_restore_trap_handler); | ||
951 | #else | ||
952 | set_exception_table_evt(0x800, fpu_state_restore_trap_handler); | 948 | set_exception_table_evt(0x800, fpu_state_restore_trap_handler); |
953 | set_exception_table_evt(0x820, fpu_state_restore_trap_handler); | 949 | set_exception_table_evt(0x820, fpu_state_restore_trap_handler); |
954 | #endif | 950 | #endif |
955 | #endif | ||
956 | 951 | ||
957 | #ifdef CONFIG_CPU_SH2 | 952 | #ifdef CONFIG_CPU_SH2 |
958 | set_exception_table_vec(TRAP_ADDRESS_ERROR, address_error_trap_handler); | 953 | set_exception_table_vec(TRAP_ADDRESS_ERROR, address_error_trap_handler); |