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)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 00:57:16 +0000 (09:57 +0900)
commit5a2e42717d938677bd46b2f47d61a22f6e3baf19
treecf4be2a3888cbc805616e41a46571c09c65a9094
parent9271c5d21b1e3ab5bc89edb69a27efaa49390b5d
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>
(cherry picked from commit e1ce5c7adc735ce96a35806ca32ceb78e607a283)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/include/asm/arch_timer.h
arch/arm64/include/asm/arch_timer.h
drivers/clocksource/arm_arch_timer.c