arm: arch_timer: split cntfrq accessor
authorMark Rutland <mark.rutland@arm.com>
Mon, 12 Nov 2012 16:46:40 +0000 (16:46 +0000)
committerMark Rutland <mark.rutland@arm.com>
Thu, 31 Jan 2013 15:51:22 +0000 (15:51 +0000)
commitfd5583a4c271ec03e2da04196aaaab177b385eb8
treebe1867cb175da753b36b8b63dd00f7a36f94cd9c
parentb8e243431fa11f542a0fd94e939543bcb7d236ee
arm: arch_timer: split cntfrq accessor

The CNTFRQ register is not duplicated for physical and virtual timers,
and accessing it as if it were is confusing.

Instead, use a separate accessor which doesn't take the access type
as a parameter.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/kernel/arch_timer.c