Commit 2fb6340e authored by Gilles Chanteperdrix's avatar Gilles Chanteperdrix Committed by Philippe Gerum
Browse files

clocksource: arch_timer: ipipe: enable user access to counter

parent 91fffb9b
......@@ -106,6 +106,10 @@ static inline u32 arch_timer_get_cntkctl(void)
static inline void arch_timer_set_cntkctl(u32 cntkctl)
/* Enable access to user-space (may not be needed) */
asm volatile("mcr p15, 0, %0, c14, c1, 0" : : "r" (cntkctl));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment