[PATCH] clocksource: arm_generic: use integer math helpers

Catalin Marinas catalin.marinas at arm.com
Mon Nov 5 12:26:03 EST 2012


On Mon, Oct 29, 2012 at 02:24:18PM +0000, Linus Walleij wrote:
> 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 at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>

BTW, would this go through John's tree? I'm happy to push it as well.

Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list