cvs commit: src/sys/i386/cpufreq est.c

John Baldwin jhb at freebsd.org
Thu May 1 19:49:38 UTC 2008


On Thursday 28 February 2008 02:10:42 pm Rui Paulo wrote:
> rpaulo      2008-02-28 19:10:42 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/i386/cpufreq     est.c 
>   Log:
>   Validate the id16 values gathered from ACPI (previously a TODO item).
>   Style changes by me and njl.

What is the purpose of the 'saved_id16' variable?  It is never used.  I think 
what might be better is to just read it once at the start of the loop and 
then restore it at the end of the loop, though phk@ has overwritten this with 
the "chew up all battery on laptops at all cost" patch. :-P

-- 
John Baldwin


More information about the cvs-src mailing list