clocksource: arm_generic: use integer math helpers
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 29 Oct 2012 14:24:18 +0000 (15:24 +0100)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 13 Nov 2012 19:04:52 +0000 (14:04 -0500)
This will make the two crucial integer divisions in the generic
ARM arch timer used for ARMv8 use the kernel DIV_ROUND_CLOSEST()
helper inline from <linux/kernel.h> so they get more precise.

Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>

No differences found