ACPICA: New: acpi_get_gpe_device interface
authorBob Moore <robert.moore@intel.com>
Tue, 30 Dec 2008 01:45:17 +0000 (09:45 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 06:10:24 +0000 (01:10 -0500)
commite97d6bf1a01b7403d98aea95731863aab2e84064
treefd6dafb476e312424311425be96e07e5969f060f
parentc1e3523ccbeca312e11557d2a75f90632a2fb5c7
ACPICA: New: acpi_get_gpe_device interface

This function maps an input GPE index to a GPE block device. Also
Added acpi_current_gpe_count to track the current number of GPEs
that are being managed by the ACPICA core (both FADT-based GPEs
and the GPEs contained in GPE block devices.)

Modify drivers/acpi/system.c to use these 2 new interfaces

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
12 files changed:
drivers/acpi/events/evgpeblk.c
drivers/acpi/events/evmisc.c
drivers/acpi/events/evxfevnt.c
drivers/acpi/hardware/hwgpe.c
drivers/acpi/hardware/hwregs.c
drivers/acpi/system.c
drivers/acpi/utilities/utglobal.c
include/acpi/acevents.h
include/acpi/acglobal.h
include/acpi/achware.h
include/acpi/aclocal.h
include/acpi/acpixf.h