ARM: architected timers: Add A15 specific sched_clock implementation
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 14 Jan 2011 15:32:36 +0000 (15:32 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Apr 2012 12:35:33 +0000 (13:35 +0100)
commit3f61c80eb7dff0fb35beb8068852d3fc902315a6
tree33f1285e1bac944b3279993b14cbfc196abf570e
parent022c03a2d650c641fa0f94dbc9d9ff77f8057678
ARM: architected timers: Add A15 specific sched_clock implementation

Provide an A15 sched_clock implementation using the virtual counter,
which is thought to be more useful than the physical one in a
virtualised environment, as it can offset the time spent in another
VM or the hypervisor.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/arch_timer.h
arch/arm/kernel/arch_timer.c