]> 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>
Wed, 24 Aug 2011 08:43:54 +0000 (09:43 +0100)
commitf08e0fdad0da7af26daa2d00c9da194b5bb9bcf0
treeea787c0ff17508e2d66cd0b95d1f8761f7bdf912
parent07ed43553f9ceefe5e3cbd25da0f6ff912b4fedb
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