Revert "Fix rounding in clocks_calc_mult_shift()"

This reverts commit 2455208a7a.
This commit is contained in:
黄涛
2011-07-30 15:56:32 +08:00
parent 45c82a64f8
commit ab47eea0bb

View File

@@ -152,7 +152,6 @@ clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 minsec)
*/
for (sft = 32; sft > 0; sft--) {
tmp = (u64) to << sft;
tmp += from / 2;
do_div(tmp, from);
if ((tmp >> sftacc) == 0)
break;