clocksource: arm_arch_timer: Enable counter access for 32-bit ARM
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)
commit9271c5d21b1e3ab5bc89edb69a27efaa49390b5d
treee90774b5e03bb0e32fc94f9710aa53f29ba9b5f9
parent3f24140ff66ec61af497d4fb6d9bae0d9ebf2aca
clocksource: arm_arch_timer: Enable counter access for 32-bit ARM

The only difference between arm and arm64's implementations of
arch_counter_set_user_access is that 32-bit ARM does not enable user
access to the virtual counter.  We want to enable this access for the
32-bit ARM VDSO, so copy the arm64 version to the driver itself, and
remove the arch-specific implementations.

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 8b8dde00347ef409b29abd97e5833ffdb4ed7508)
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