arm: arch_timer: divorce from local_timer api
authorMark Rutland <mark.rutland@arm.com>
Mon, 12 Nov 2012 17:29:43 +0000 (17:29 +0000)
committerMark Rutland <mark.rutland@arm.com>
Thu, 31 Jan 2013 15:51:38 +0000 (15:51 +0000)
commit1ba1cefc277865a0ac222f53bbbf2ebacad1559a
tree2db2038390a6ae9bf654e2473c7fbc0e8f2a051f
parent45801042225c66a66fb2cb50fae6ff71883a99d6
arm: arch_timer: divorce from local_timer api

Currently, the arch_timer driver is tied to the arm port, as it relies
on code in arch/arm/smp.c to setup and teardown timers as cores are
hotplugged on and off. The timer is registered through an arm-specific
registration mechanism, preventing sharing the driver with the arm64
port.

This patch moves the driver to using a cpu notifier instead, making it
easier to port.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/kernel/arch_timer.c