ARM: kernel: smp_setup_processor_id() updates
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 8 Nov 2012 18:05:56 +0000 (18:05 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 19 Nov 2012 15:44:33 +0000 (15:44 +0000)
commitcb8cf4f821044f140ea5b9c8d4f816f0c05fab44
tree11868c21279511f8ce1536e52c42e952342304c5
parent71db5bfec1349afcbfbd71268c01c658c357b4f3
ARM: kernel: smp_setup_processor_id() updates

This patch applies some basic changes to the smp_setup_processor_id()
ARM implementation to make the code that builds cpu_logical_map more
uniform across the kernel.

The function now prints the full extent of the boot CPU MPIDR[23:0] and
initializes the cpu_logical_map for CPUs up to nr_cpu_ids.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/setup.c