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

John Baldwin jhb at FreeBSD.org
Mon Mar 10 22:00:37 UTC 2008


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


More information about the cvs-src mailing list