]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7061/1: gic: convert logical CPU numbers into physical numbers
authorWill Deacon <will.deacon@arm.com>
Tue, 23 Aug 2011 21:20:03 +0000 (22:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Aug 2011 08:43:54 +0000 (09:43 +0100)
commitc2b9ab71c6e6cf8c48c5f8fda47cd10879c5c7db
tree239bbc9ef9e88c32ad0e966d921271e380cc9a66
parentf08e0fdad0da7af26daa2d00c9da194b5bb9bcf0
ARM: 7061/1: gic: convert logical CPU numbers into physical numbers

The GIC driver must convert logical CPU numbers passed in from Linux
into physical CPU numbers that are understood by the hardware.

This patch uses the new cpu_logical_map macro for performing the
conversion inside the GIC driver.

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