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

Nate Lawson njl at FreeBSD.org
Mon Feb 21 23:38:41 GMT 2005


njl         2005-02-21 23:38:41 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_ec.c 
  Log:
  Since the GPE handler is directly called by ACPI-CA and it may have unknown
  locks held, specify the ACPI_ISR flag to keep it from acquiring any more
  mutexes (which could potentially sleep.)  This should fix "could sleep"
  warning messages on the following path:
  
      msleep()
      AcpiOsWaitSemaphore()
      AcpiUtAcquireMutex()
      AcpiDisableGpe()
      EcGpeHandler()
      AcpiEvGpeDispatch()
      AcpiEvGpeDetect()
      AcpiEvGpeDetect()
      AcpiEvSciXruptHandler()
  
  Revision  Changes    Path
  1.62      +8 -3      src/sys/dev/acpica/acpi_ec.c


More information about the cvs-src mailing list