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)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 28 Sep 2014 23:59:25 +0000 (01:59 +0200)
commit8b8dde00347ef409b29abd97e5833ffdb4ed7508
tree01e5d9b4ba7197f789272b97ef2a73328728f736
parent423bd69e69f565167ba14e2fe61df76c3c4a0d26
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>
arch/arm/include/asm/arch_timer.h
arch/arm64/include/asm/arch_timer.h
drivers/clocksource/arm_arch_timer.c