Oops! Add " / hz" missed in r209328. Assume interrupt rate hz/2, not 1/2.

This commit is contained in:
mav 2010-06-19 08:46:17 +00:00
parent cb2f6ec002
commit 4f72f1bb1c

View File

@ -937,7 +937,7 @@ acpi_cpu_idle()
AcpiHwRead(&end_time, &AcpiGbl_FADT.XPmTimerBlock);
end_time = acpi_TimerDelta(end_time, start_time);
sc->cpu_prev_sleep = (sc->cpu_prev_sleep * 3 +
min(PM_USEC(end_time), 500000)) / 4;
min(PM_USEC(end_time), 500000 / hz)) / 4;
return;
}