ARM: 7318/1: gic: refactor irq_start assignment
authorWill Deacon <will.deacon@arm.com>
Fri, 3 Feb 2012 13:52:14 +0000 (14:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 09:38:53 +0000 (09:38 +0000)
commite0b823e9a543527dbb0f806252ee03a60f2aefbc
treef54a12a1ff6dc4857801ab45b661fdaf735b2d52
parent342d00ae2b85af003f11036484a33e12e906fe92
ARM: 7318/1: gic: refactor irq_start assignment

The irq_start and hwirq_base assignment code is fairly hairy and ended
up being difficult to read following a conflict resolution for 3.2.

This patch rearranges the code slightly to make it easier to read.

Cc: Marc Zyngier <marc.zyngier@arm.com>
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