VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / video / aty / mach64_gx.c
index f85f0a0..28540cf 100644 (file)
@@ -653,7 +653,7 @@ static int aty_var_to_pll_8398(const struct fb_info *info,
 
                for (m = MIN_M; m <= MAX_M; m++) {
                        for (n = MIN_N; n <= MAX_N; n++) {
-                               tempA = (14.31818 * 65536);
+                               tempA = 938356;         /* 14.31818 * 65536 */
                                tempA *= (n + 8);       /* 43..256 */
                                tempB = twoToKth * 256;
                                tempB *= (m + 2);       /* 4..32 */