- case T_THERMAL: /* Fix the air conditioning, I'm dripping with sweat, or freezing, whatever... */
-
-/*
- * Note that this code is just a hackification until we have a real thermal plan.
- */
-
- tmpr = ml_read_temp(); /* Find out just how hot it is */
- targtemp = (dar >> 23) & 0x7F; /* Get the temprature we were looking for */
- if(dar & 4) { /* Did the temprature drop down? */
-#if 1
- kprintf("THERMAL below (cpu %d) target = %d; actual = %d; thrm = %08X\n", current_cpu, targtemp, tmpr, dar);
-#endif
-#if 0
- throttle = ml_throttle(0); /* Set throttle off */
-#if 1
- kprintf("THERMAL (cpu %d) throttle set off; last = %d\n", current_cpu, throttle);
-#endif
-#endif
- ml_thrm_set(0, per_proc_info[current_cpu].thrm.throttleTemp); /* Set no low temp and max allowable as max */