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/devices.c | |
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/devices.c')
-rw-r--r-- | arch/sparc/kernel/devices.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/kernel/devices.c b/arch/sparc/kernel/devices.c index 6b2f56a6f8af..3d465e87f7e2 100644 --- a/arch/sparc/kernel/devices.c +++ b/arch/sparc/kernel/devices.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <asm/cpu_type.h> | 21 | #include <asm/cpu_type.h> |
22 | 22 | ||
23 | extern void clock_stop_probe(void); /* tadpole.c */ | 23 | extern void clock_stop_probe(void); /* tadpole.c */ |
24 | extern void sun4c_probe_memerr_reg(void); | ||
25 | 24 | ||
26 | static char *cpu_mid_prop(void) | 25 | static char *cpu_mid_prop(void) |
27 | { | 26 | { |
@@ -139,7 +138,4 @@ void __init device_scan(void) | |||
139 | auxio_power_probe(); | 138 | auxio_power_probe(); |
140 | } | 139 | } |
141 | clock_stop_probe(); | 140 | clock_stop_probe(); |
142 | |||
143 | if (ARCH_SUN4C) | ||
144 | sun4c_probe_memerr_reg(); | ||
145 | } | 141 | } |