ARM: local timers: introduce a new registration interface
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 10 Jan 2012 19:26:45 +0000 (19:26 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 13 Mar 2012 13:27:50 +0000 (13:27 +0000)
commit0ef330e10dcdbca8f4566e9eaf77015f8ce039d3
treeb6adfb473921a37bf73372dd3dfec23a1e450d67
parentabde710ca8776f851e41c3dfe78ad7dcafa26dc9
ARM: local timers: introduce a new registration interface

In order to switch to a runtime selectable local timer,
add a registration interface that timer drivers can use to
register to the core.

local_timer_setup() and local_timer_stop() are made weak symbols
in order not to break existing setups.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/localtimer.h
arch/arm/kernel/smp.c