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>
Mon, 17 Oct 2011 08:02:43 +0000 (09:02 +0100)
commit267840f3397fd9f6a2bdde14de38b9d29d525d7b
treea668793c8a5ce19ae36721d93c3bfc7c29373b82
parentd6257288c4052465feeff7e283e35ec0ed06ca03
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