diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-10-29 15:24:18 +0100 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2012-11-13 14:04:52 -0500 |
commit | 980097b36074596c76c1367a9e7b70ec8583d55b (patch) | |
tree | 361546a15dd634ff684a607707bfdc4f45605197 /lib/string.c | |
parent | f95a985781e9e986992351c971af7f7e46e06ed5 (diff) |
clocksource: arm_generic: use integer math helpers
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions