]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: Fix bug with max_deferment margin calculation
authorYang Honggang (Joseph) <eagle.rtlinux@gmail.com>
Fri, 2 Dec 2011 03:22:41 +0000 (22:22 -0500)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 1 Dec 2011 23:50:00 +0000 (15:50 -0800)
commit85db42a912340ac1aba4bc5781733054b6642231
treeeeaafc566a9023a794eaefcda8a5201ba7ffa9bc
parentd5dd7b3ca24f310e3ef97377b5d6ac510e605a1f
clocksource: Fix bug with max_deferment margin calculation

In order to leave a margin of 12.5% we should >> 3 not >> 5.

CC: stable@kernel.org
Signed-off-by: Yang Honggang (Joseph) <eagle.rtlinux@gmail.com>
[jstultz: Modified commit subject]
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/clocksource.c