cvs commit: src/sys/dev/acpica acpi_thermal.c

John Baldwin jhb at FreeBSD.org
Mon Dec 31 07:56:04 PST 2007


jhb         2007-12-31 15:56:03 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_thermal.c 
  Log:
  Use devclass_get_count() instead of devclass_get_maxunit() to get the
  correct number of acpi_thermalX devices.  Having this wrong caused the
  acpi_thermal thread to realloc the array of devices on each loop iteration.
  
  MFC after:      1 week
  PR:             kern/118497
  Submitted by:   Pasi Parviainen
  
  Revision  Changes    Path
  1.67      +1 -1      src/sys/dev/acpica/acpi_thermal.c


More information about the cvs-src mailing list