[PATCH] ppc32: make cur_cpu_spec a single pointer instead of an array
authorKumar Gala <galak@freescale.com>
Tue, 27 Sep 2005 20:13:12 +0000 (15:13 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Sep 2005 05:42:54 +0000 (15:42 +1000)
commit400d221274426958f1e1c7081a247bea9cede696
treedb0907bc14504d827b06b45004152b6610387b40
parent10b35d9978ac35556aec0d2642055742d8941488
[PATCH] ppc32: make cur_cpu_spec a single pointer instead of an array

Changed ppc32 so that cur_cpu_spec is just a single pointer for all CPUs.
Additionally, made call_setup_cpu check to see if the cpu_setup pointer
is NULL or not before calling the function.  This lets remove the dummy
cpu_setup calls that just return.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
15 files changed:
arch/powerpc/kernel/head.S
arch/powerpc/oprofile/common.c
arch/powerpc/platforms/powermac/pmac_setup.c
arch/ppc/kernel/cpu_setup_6xx.S
arch/ppc/kernel/cpu_setup_power4.S
arch/ppc/kernel/cputable.c
arch/ppc/kernel/head.S
arch/ppc/kernel/misc.S
arch/ppc/kernel/setup.c
arch/ppc/platforms/4xx/ebony.c
arch/ppc/platforms/pmac_setup.c
arch/ppc/platforms/radstone_ppc7d.c
arch/ppc/syslib/ibm440gx_common.c
include/asm-powerpc/cputable.h
include/asm-powerpc/elf.h