ARM: GIC: Remove MMIO address from gic_cpu_init, rename to gic_secondary_init
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Dec 2010 16:01:03 +0000 (16:01 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 14 Dec 2010 19:21:40 +0000 (19:21 +0000)
commit384895330e0f3954d9478fd0853145f9c169df12
treec90f70f4e070b640a1f1f2a76cf4acf864354093
parentb580b899dd05a007ad232ee49a07b32d91876462
ARM: GIC: Remove MMIO address from gic_cpu_init, rename to gic_secondary_init

We don't need to re-pass the base address for the CPU interfaces to the
GIC for secondary CPUs, as it will never be different from the boot CPU
- and even if it was, we'd overwrite the boot CPU's base address.

Get rid of this argument, and rename to gic_secondary_init().

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
arch/arm/include/asm/hardware/gic.h
arch/arm/mach-omap2/omap-smp.c
arch/arm/mach-realview/platsmp.c
arch/arm/mach-s5pv310/platsmp.c
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-ux500/platsmp.c
arch/arm/mach-vexpress/platsmp.c