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/events/evmisc.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/events/evmisc.c')
-rw-r--r-- | drivers/acpi/events/evmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c index dbac5b3248a0..d807158c6401 100644 --- a/drivers/acpi/events/evmisc.c +++ b/drivers/acpi/events/evmisc.c | |||
@@ -588,7 +588,7 @@ void acpi_ev_terminate(void) | |||
588 | 588 | ||
589 | /* Disable all GPEs in all GPE blocks */ | 589 | /* Disable all GPEs in all GPE blocks */ |
590 | 590 | ||
591 | status = acpi_ev_walk_gpe_list(acpi_hw_disable_gpe_block); | 591 | status = acpi_ev_walk_gpe_list(acpi_hw_disable_gpe_block, NULL); |
592 | 592 | ||
593 | /* Remove SCI handler */ | 593 | /* Remove SCI handler */ |
594 | 594 | ||
@@ -606,7 +606,7 @@ void acpi_ev_terminate(void) | |||
606 | 606 | ||
607 | /* Deallocate all handler objects installed within GPE info structs */ | 607 | /* Deallocate all handler objects installed within GPE info structs */ |
608 | 608 | ||
609 | status = acpi_ev_walk_gpe_list(acpi_ev_delete_gpe_handlers); | 609 | status = acpi_ev_walk_gpe_list(acpi_ev_delete_gpe_handlers, NULL); |
610 | 610 | ||
611 | /* Return to original mode if necessary */ | 611 | /* Return to original mode if necessary */ |
612 | 612 | ||