diff options
author | Marc Zyngier <Marc.Zyngier@arm.com> | 2012-09-07 18:09:57 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-09-15 21:53:32 +0100 |
commit | f48b5f12799dbabba4a9c799a9bef0775b2f977d (patch) | |
tree | 088d7b6a3a21d3e69bc7b23fb746923b86ca0843 /lib/average.c | |
parent | 55d512e245bc7699a8800e23df1a24195dd08217 (diff) |
ARM: 7523/1: arch_timers: enable the use of the virtual timer
At the moment, the arch_timer driver only uses the physical timer,
which can cause problem if PL2 hasn't enabled PL1 access in CNTHCTL,
which is likely in a virtualized environment. Instead, the virtual
timer is always available.
This patch enables the use of the virtual timer, unless no
interrupt is provided in the DT for it, in which case it falls
back to the physical timer.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'lib/average.c')
0 files changed, 0 insertions, 0 deletions