summaryrefslogtreecommitdiff
path: root/lib/average.c
diff options
context:
space:
mode:
authorMarc Zyngier <Marc.Zyngier@arm.com>2012-09-07 18:09:57 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-09-15 21:53:32 +0100
commitf48b5f12799dbabba4a9c799a9bef0775b2f977d (patch)
tree088d7b6a3a21d3e69bc7b23fb746923b86ca0843 /lib/average.c
parent55d512e245bc7699a8800e23df1a24195dd08217 (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