ARM: 7060/1: smp: populate logical CPU mapping during boot
authorWill Deacon <will.deacon@arm.com>
Tue, 23 Aug 2011 21:19:29 +0000 (22:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Oct 2011 08:02:43 +0000 (09:02 +0100)
commitd6257288c4052465feeff7e283e35ec0ed06ca03
treee9dbc251dfb47716d592681d228bda73a3a63121
parentc9018aab8eee24b993c12c7aff7fc99d3d73f298
ARM: 7060/1: smp: populate logical CPU mapping during boot

To allow booting Linux on a CPU with physical ID != 0, we need to
provide a mapping from the logical CPU number to the physical CPU
number.

This patch adds such a mapping and populates it during boot.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/smp.h
arch/arm/kernel/smp.c