]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41a151400afa645ee5aedabed126456fc5db61a5
tree33f1285e1bac944b3279993b14cbfc196abf570e
parent1a5c2d9adb4a0a0b58b4ca9589e5539fb6b0a749
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