Date: Mon, 10 Mar 2008 22:00:36 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/cpufreq est.c Message-ID: <200803102200.m2AM0asg052806@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-03-10 22:00:36 UTC
FreeBSD src repository
Modified files:
sys/i386/cpufreq est.c
Log:
- Don't execute cpuid to fetch the features. We already have the features
present in cpu_feature2. Also, use CPUID2_EST rather than a magic
number.
- Don't free the ACPI settings list in detach if we are going to fail the
request. Otherwise an attempt to kldunload est would free the array
but the driver would keep trying to use it.
MFC after: 1 week
Revision Changes Path
1.14 +5 -5 src/sys/i386/cpufreq/est.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803102200.m2AM0asg052806>
