Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2007 15:56:03 +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/dev/acpica acpi_thermal.c
Message-ID:  <200712311556.lBVFu3XD009385@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712311556.lBVFu3XD009385>