diff options
author | Bob Moore <robert.moore@intel.com> | 2008-12-29 20:45:17 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-31 01:10:24 -0500 |
commit | e97d6bf1a01b7403d98aea95731863aab2e84064 (patch) | |
tree | fd6dafb476e312424311425be96e07e5969f060f /drivers/acpi/hardware/hwregs.c | |
parent | c1e3523ccbeca312e11557d2a75f90632a2fb5c7 (diff) |
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>
Diffstat (limited to 'drivers/acpi/hardware/hwregs.c')
-rw-r--r-- | drivers/acpi/hardware/hwregs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/hardware/hwregs.c b/drivers/acpi/hardware/hwregs.c index ddf792adcf96..69dc8b45d76c 100644 --- a/drivers/acpi/hardware/hwregs.c +++ b/drivers/acpi/hardware/hwregs.c | |||
@@ -94,7 +94,7 @@ acpi_status acpi_hw_clear_acpi_status(void) | |||
94 | 94 | ||
95 | /* Clear the GPE Bits in all GPE registers in all GPE blocks */ | 95 | /* Clear the GPE Bits in all GPE registers in all GPE blocks */ |
96 | 96 | ||
97 | status = acpi_ev_walk_gpe_list(acpi_hw_clear_gpe_block); | 97 | status = acpi_ev_walk_gpe_list(acpi_hw_clear_gpe_block, NULL); |
98 | 98 | ||
99 | unlock_and_exit: | 99 | unlock_and_exit: |
100 | acpi_os_release_lock(acpi_gbl_hardware_lock, lock_flags); | 100 | acpi_os_release_lock(acpi_gbl_hardware_lock, lock_flags); |