[PATCH][PPC32] Remove __setup_cpu_8xx
Kumar Gala
galak at somerset.sps.mot.com
Thu Nov 11 15:15:43 EST 2004
Andrew,
Remove __setup_cpu_8xx and its initialization in cpu_specs table since it
hasn't every done anything. This is at Tom Rini's suggestion.
Signed-off-by: Kumar Gala <kumar.gala at freescale.com>
--
diff -Nru a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c
--- a/arch/ppc/kernel/cputable.c 2004-11-10 17:12:09 -06:00
+++ b/arch/ppc/kernel/cputable.c 2004-11-10 17:12:09 -06:00
@@ -30,7 +30,6 @@
extern void __setup_cpu_power3(unsigned long offset, int cpu_nr, struct cpu_spec* spec);
extern void __setup_cpu_power4(unsigned long offset, int cpu_nr, struct cpu_spec* spec);
extern void __setup_cpu_ppc970(unsigned long offset, int cpu_nr, struct cpu_spec* spec);
-extern void __setup_cpu_8xx(unsigned long offset, int cpu_nr, struct cpu_spec* spec);
extern void __setup_cpu_generic(unsigned long offset, int cpu_nr, struct cpu_spec* spec);
#define CLASSIC_PPC (!defined(CONFIG_8xx) && !defined(CONFIG_4xx) && \
@@ -693,7 +692,6 @@
.icache_bsize = 16,
.dcache_bsize = 16,
.num_pmcs = 0,
- .cpu_setup = __setup_cpu_8xx /* Empty */
},
#endif /* CONFIG_8xx */
#ifdef CONFIG_40x
diff -Nru a/arch/ppc/kernel/head_8xx.S b/arch/ppc/kernel/head_8xx.S
--- a/arch/ppc/kernel/head_8xx.S 2004-11-10 17:12:09 -06:00
+++ b/arch/ppc/kernel/head_8xx.S 2004-11-10 17:12:09 -06:00
@@ -638,11 +638,6 @@
giveup_fpu:
blr
-/* Maybe someday.......
-*/
-_GLOBAL(__setup_cpu_8xx)
- blr
-
/*
* This is where the main kernel code starts.
*/
More information about the Linuxppc-dev
mailing list