summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/processor.h
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2012-08-17 08:20:22 +0000
committerAndy Fleming <afleming@freescale.com>2012-08-23 12:16:54 -0500
commit123bd96d533190a207c9fcea84ae6328732a16cc (patch)
treef8828f5698f38167604ade9ebdf5b0856986777b /arch/powerpc/include/asm/processor.h
parent1ca8690d27871b87b8ec4afe8621d1e003d25d7a (diff)
downloadblackbird-obmc-uboot-123bd96d533190a207c9fcea84ae6328732a16cc.tar.gz
blackbird-obmc-uboot-123bd96d533190a207c9fcea84ae6328732a16cc.zip
powerpc/mpc8xxx: use topology registers to calculate number of cores
We have actual topology infomation to find out exactly which core is present. Calculate the number of cores if not specified. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
-rw-r--r--arch/powerpc/include/asm/processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index a8ffedbc86..3247c805e5 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -1157,6 +1157,7 @@ struct cpu_type {
};
struct cpu_type *identify_cpu(u32 ver);
+int fixup_cpu(void);
#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
#define CPU_TYPE_ENTRY(n, v, nc) \
OpenPOWER on IntegriCloud