commit | 2136683172f49a32b3ed7469f6e5ce20c8f4278b | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Oct 18 11:12:31 2012 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Nov 05 09:55:32 2012 +0100 |
tree | 3bfa057454f38388acfedb9e2144e8e5f07da3f6 | |
parent | 0813069d03f312b48b836f20e7f12073288f0f82 [diff] |
ARM: plat-nomadik: use DIV_ROUND_CLOSEST() Use DIV_ROUND_CLOSEST() to calculate the cycle counter for the periodic mode instead of relying on homebrew reimplementation. Cc: Alessandro Rubini <rubini@unipv.it> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>