From: Mark Rutland Date: Mon, 12 Nov 2012 14:33:44 +0000 (+0000) Subject: arm: arch_timer: move core to drivers/clocksource X-Git-Tag: v3.9-rc1~115^2~8^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a4da6e36c582ff746191eca85b6c1c068dbfbd6;p=pandora-kernel.git arm: arch_timer: move core to drivers/clocksource The core functionality of the arch_timer driver is not directly tied to anything under arch/arm, and can be split out. This patch factors out the core of the arch_timer driver, so it can be shared with other architectures. A couple of functions are added so that architecture-specific code can interact with the driver without needing to touch its internals. The ARM_ARCH_TIMER config variable is moved out to drivers/clocksource/Kconfig, existing uses in arch/arm are replaced with HAVE_ARM_ARCH_TIMER, which selects it. Signed-off-by: Mark Rutland Acked-by: Catalin Marinas Acked-by: Marc Zyngier --- Reading git-diff-tree failed