clocksource: arm_arch_timer: Consolidate arch_timer_evtstrm_enable
authorNathan Lynch <nathan_lynch@mentor.com>
Sun, 28 Sep 2014 23:50:06 +0000 (01:50 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 28 Sep 2014 23:59:26 +0000 (01:59 +0200)
commite1ce5c7adc735ce96a35806ca32ceb78e607a283
treef64460684e1eb8139a65e108f7ebc49b1163d521
parent8b8dde00347ef409b29abd97e5833ffdb4ed7508
clocksource: arm_arch_timer: Consolidate arch_timer_evtstrm_enable

The arch_timer_evtstrm_enable hooks in arm and arm64 are substantially
similar, the only difference being a CONFIG_COMPAT-conditional section
which is relevant only for arm64.  Copy the arm64 version to the
driver, removing the arch-specific hooks.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/arch_timer.h
arch/arm64/include/asm/arch_timer.h
drivers/clocksource/arm_arch_timer.c