]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 12 Sep 2011 07:55:45 +0000 (08:55 +0100)
commit573c08ff80ba5fa1ea74b285fc3499e2127a65c8
treede312715bb807b05ed57df23fabcb9819e091797
parent246ea8bf7007d40e1a21999f3cb033242150be4c
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