aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities/utglobal.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-12-29 20:45:17 -0500
committerLen Brown <len.brown@intel.com>2008-12-31 01:10:24 -0500
commite97d6bf1a01b7403d98aea95731863aab2e84064 (patch)
treefd6dafb476e312424311425be96e07e5969f060f /drivers/acpi/utilities/utglobal.c
parentc1e3523ccbeca312e11557d2a75f90632a2fb5c7 (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/utilities/utglobal.c')
-rw-r--r--drivers/acpi/utilities/utglobal.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/utilities/utglobal.c b/drivers/acpi/utilities/utglobal.c
index 211d621f42a9..06112bf976dc 100644
--- a/drivers/acpi/utilities/utglobal.c
+++ b/drivers/acpi/utilities/utglobal.c
@@ -46,9 +46,8 @@
46#include <acpi/acpi.h> 46#include <acpi/acpi.h>
47#include <acpi/acnamesp.h> 47#include <acpi/acnamesp.h>
48 48
49ACPI_EXPORT_SYMBOL(acpi_gbl_FADT)
50#define _COMPONENT ACPI_UTILITIES 49#define _COMPONENT ACPI_UTILITIES
51 ACPI_MODULE_NAME("utglobal") 50ACPI_MODULE_NAME("utglobal")
52 51
53/******************************************************************************* 52/*******************************************************************************
54 * 53 *
@@ -756,6 +755,7 @@ acpi_status acpi_ut_init_globals(void)
756 acpi_gbl_gpe_xrupt_list_head = NULL; 755 acpi_gbl_gpe_xrupt_list_head = NULL;
757 acpi_gbl_gpe_fadt_blocks[0] = NULL; 756 acpi_gbl_gpe_fadt_blocks[0] = NULL;
758 acpi_gbl_gpe_fadt_blocks[1] = NULL; 757 acpi_gbl_gpe_fadt_blocks[1] = NULL;
758 acpi_current_gpe_count = 0;
759 759
760 /* Global handlers */ 760 /* Global handlers */
761 761
@@ -816,5 +816,7 @@ acpi_status acpi_ut_init_globals(void)
816 return_ACPI_STATUS(AE_OK); 816 return_ACPI_STATUS(AE_OK);
817} 817}
818 818
819ACPI_EXPORT_SYMBOL(acpi_gbl_FADT)
819ACPI_EXPORT_SYMBOL(acpi_dbg_level) 820ACPI_EXPORT_SYMBOL(acpi_dbg_level)
820ACPI_EXPORT_SYMBOL(acpi_dbg_layer) 821ACPI_EXPORT_SYMBOL(acpi_dbg_layer)
822ACPI_EXPORT_SYMBOL(acpi_current_gpe_count)