]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: GIC: move gic_data[] initialization into gic_init()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Dec 2010 16:50:58 +0000 (16:50 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 14 Dec 2010 19:21:44 +0000 (19:21 +0000)
commitbef8f9ee32511a28f1c9a7d3b8c51cdac030b564
treebac7425c7920061c9629aa0579daaade49ba9315
parentff2e27ae0b17f53a6a289c87d325f706598f3788
ARM: GIC: move gic_data[] initialization into gic_init()

This avoids writing unnecessarily to gic_data[] from other CPUs,
making this a mostly read-only variable.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/gic.c