ACPICA: Introduce acpi_dispatch_gpe()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 May 2018 08:30:35 +0000 (10:30 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 May 2018 08:30:35 +0000 (10:30 +0200)
commit745364533e40ec76f7822275d491f5196362e016
tree8d4b9d26febb4de2832f4bc61cbb067d827bfbce
parent67b8d5c7081221efa252e111cd52532ec6d4266f
ACPICA: Introduce acpi_dispatch_gpe()

Introduce acpi_dispatch_gpe() as a wrapper around acpi_ev_detect_gpe()
for checking if the given GPE (as represented by a GPE device handle
and a GPE number) is currently active and dispatching it (if that's
the case) outside of interrupt context.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/evgpe.c
drivers/acpi/acpica/evxfgpe.c
include/acpi/acpixf.h