diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-11 07:35:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-11 22:27:46 -0400 |
commit | 306f1231622176d06b1ad2bccc46122dd4e927fa (patch) | |
tree | c8ac1f2bf302484b0e87e7793fd6c9322c6860f4 /arch/sparc/kernel/head_32.S | |
parent | e7eaf5b8abb836785a512fa7e9348dc6b0d7bc81 (diff) |
sparc32: remove sun4c traps
We used to runtime patch the trap table for srmmu.
With the removal of sun4c support this is no longer required.
With the sun4c trap removed we can remove all the referenced
trap handling which is sun4c specific.
This also allows us to get rid of the nosun4c.c file that
contained only dummy functions/data.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/head_32.S')
-rw-r--r-- | arch/sparc/kernel/head_32.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S index 054a49f3044c..0e23ff36a419 100644 --- a/arch/sparc/kernel/head_32.S +++ b/arch/sparc/kernel/head_32.S | |||
@@ -84,7 +84,7 @@ trapbase_cpu0: | |||
84 | #endif | 84 | #endif |
85 | /* We get control passed to us here at t_zero. */ | 85 | /* We get control passed to us here at t_zero. */ |
86 | t_zero: b gokernel; nop; nop; nop; | 86 | t_zero: b gokernel; nop; nop; nop; |
87 | t_tflt: SPARC_TFAULT /* Inst. Access Exception */ | 87 | t_tflt: SRMMU_TFAULT /* Inst. Access Exception */ |
88 | t_bins: TRAP_ENTRY(0x2, bad_instruction) /* Illegal Instruction */ | 88 | t_bins: TRAP_ENTRY(0x2, bad_instruction) /* Illegal Instruction */ |
89 | t_pins: TRAP_ENTRY(0x3, priv_instruction) /* Privileged Instruction */ | 89 | t_pins: TRAP_ENTRY(0x3, priv_instruction) /* Privileged Instruction */ |
90 | t_fpd: TRAP_ENTRY(0x4, fpd_trap_handler) /* Floating Point Disabled */ | 90 | t_fpd: TRAP_ENTRY(0x4, fpd_trap_handler) /* Floating Point Disabled */ |
@@ -92,7 +92,7 @@ t_wovf: WINDOW_SPILL /* Window Overflow */ | |||
92 | t_wunf: WINDOW_FILL /* Window Underflow */ | 92 | t_wunf: WINDOW_FILL /* Window Underflow */ |
93 | t_mna: TRAP_ENTRY(0x7, mna_handler) /* Memory Address Not Aligned */ | 93 | t_mna: TRAP_ENTRY(0x7, mna_handler) /* Memory Address Not Aligned */ |
94 | t_fpe: TRAP_ENTRY(0x8, fpe_trap_handler) /* Floating Point Exception */ | 94 | t_fpe: TRAP_ENTRY(0x8, fpe_trap_handler) /* Floating Point Exception */ |
95 | t_dflt: SPARC_DFAULT /* Data Miss Exception */ | 95 | t_dflt: SRMMU_DFAULT /* Data Miss Exception */ |
96 | t_tio: TRAP_ENTRY(0xa, do_tag_overflow) /* Tagged Instruction Ovrflw */ | 96 | t_tio: TRAP_ENTRY(0xa, do_tag_overflow) /* Tagged Instruction Ovrflw */ |
97 | t_wpt: TRAP_ENTRY(0xb, do_watchpoint) /* Watchpoint Detected */ | 97 | t_wpt: TRAP_ENTRY(0xb, do_watchpoint) /* Watchpoint Detected */ |
98 | t_badc: BAD_TRAP(0xc) BAD_TRAP(0xd) BAD_TRAP(0xe) BAD_TRAP(0xf) BAD_TRAP(0x10) | 98 | t_badc: BAD_TRAP(0xc) BAD_TRAP(0xd) BAD_TRAP(0xe) BAD_TRAP(0xf) BAD_TRAP(0x10) |
@@ -120,7 +120,7 @@ t_cpdis:TRAP_ENTRY(0x24, do_cp_disabled) /* Co-Processor Disabled */ | |||
120 | t_uflsh:SKIP_TRAP(0x25, unimp_flush) /* Unimplemented FLUSH inst. */ | 120 | t_uflsh:SKIP_TRAP(0x25, unimp_flush) /* Unimplemented FLUSH inst. */ |
121 | t_bad26:BAD_TRAP(0x26) BAD_TRAP(0x27) | 121 | t_bad26:BAD_TRAP(0x26) BAD_TRAP(0x27) |
122 | t_cpexc:TRAP_ENTRY(0x28, do_cp_exception) /* Co-Processor Exception */ | 122 | t_cpexc:TRAP_ENTRY(0x28, do_cp_exception) /* Co-Processor Exception */ |
123 | t_dacce:SPARC_DFAULT /* Data Access Error */ | 123 | t_dacce:SRMMU_DFAULT /* Data Access Error */ |
124 | t_hwdz: TRAP_ENTRY(0x2a, do_hw_divzero) /* Division by zero, you lose... */ | 124 | t_hwdz: TRAP_ENTRY(0x2a, do_hw_divzero) /* Division by zero, you lose... */ |
125 | t_dserr:BAD_TRAP(0x2b) /* Data Store Error */ | 125 | t_dserr:BAD_TRAP(0x2b) /* Data Store Error */ |
126 | t_daccm:BAD_TRAP(0x2c) /* Data Access MMU-Miss */ | 126 | t_daccm:BAD_TRAP(0x2c) /* Data Access MMU-Miss */ |