Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 100023 | Differences between
and this patch

Collapse All | Expand All

(-)linux-work/drivers/macintosh/therm_pm72.c (-3 / +3 lines)
Lines 923-929 Link Here
923
       if (temp_combi >= ((state0->mpu.tmax + 8) << 16)) {
923
       if (temp_combi >= ((state0->mpu.tmax + 8) << 16)) {
924
               printk(KERN_WARNING "Warning ! Temperature way above maximum (%d) !\n",
924
               printk(KERN_WARNING "Warning ! Temperature way above maximum (%d) !\n",
925
                      temp_combi >> 16);
925
                      temp_combi >> 16);
926
               state0->overtemp = CPU_MAX_OVERTEMP;
926
               state0->overtemp += CPU_MAX_OVERTEMP / 4;
927
       } else if (temp_combi > (state0->mpu.tmax << 16))
927
       } else if (temp_combi > (state0->mpu.tmax << 16))
928
               state0->overtemp++;
928
               state0->overtemp++;
929
       else
929
       else
Lines 998-1004 Link Here
998
               printk(KERN_WARNING "Warning ! CPU %d temperature way above maximum"
998
               printk(KERN_WARNING "Warning ! CPU %d temperature way above maximum"
999
                      " (%d) !\n",
999
                      " (%d) !\n",
1000
                      state->index, temp >> 16);
1000
                      state->index, temp >> 16);
1001
               state->overtemp = CPU_MAX_OVERTEMP;
1001
               state->overtemp += CPU_MAX_OVERTEMP / 4;
1002
       } else if (temp > (state->mpu.tmax << 16))
1002
       } else if (temp > (state->mpu.tmax << 16))
1003
               state->overtemp++;
1003
               state->overtemp++;
1004
       else
1004
       else
Lines 1060-1066 Link Here
1060
               printk(KERN_WARNING "Warning ! CPU %d temperature way above maximum"
1060
               printk(KERN_WARNING "Warning ! CPU %d temperature way above maximum"
1061
                      " (%d) !\n",
1061
                      " (%d) !\n",
1062
                      state->index, temp >> 16);
1062
                      state->index, temp >> 16);
1063
               state->overtemp = CPU_MAX_OVERTEMP;
1063
               state->overtemp = CPU_MAX_OVERTEMP / 4;
1064
       } else if (temp > (state->mpu.tmax << 16))
1064
       } else if (temp > (state->mpu.tmax << 16))
1065
               state->overtemp++;
1065
               state->overtemp++;
1066
       else
1066
       else

Return to bug 100023