]> 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>
Thu, 8 Sep 2011 09:12:42 +0000 (10:12 +0100)
commit0367a91badb3b521dc6474ecd3c99589a356f6e0
tree73299e8085790a836fa93c7fa3817e8889b79ff4
parenta90ea0b5fd9ad08b235df4f1fafc2ddc9a65c27c
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