diff options
author | Bob Moore <robert.moore@intel.com> | 2014-04-29 22:06:15 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-06 18:55:02 -0400 |
commit | 7505da4c3f90dd61302e825b005d08144c5de050 (patch) | |
tree | 601b41987fa6d7b0d403907636e3e40598063916 /drivers/acpi/acpica/evxfgpe.c | |
parent | 21126b296e6f5f172e72da7cebb42b87fbd19b3a (diff) |
ACPICA: Events: Update GPE handling and initialization code.
1) Eliminate most use of GAS structs, since they are not needed
for GPEs.
2) Allow raw GPE numbers > 255.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/evxfgpe.c')
-rw-r--r-- | drivers/acpi/acpica/evxfgpe.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/evxfgpe.c b/drivers/acpi/acpica/evxfgpe.c index 20a1392ffe06..cb534faf5369 100644 --- a/drivers/acpi/acpica/evxfgpe.c +++ b/drivers/acpi/acpica/evxfgpe.c | |||
@@ -599,9 +599,10 @@ acpi_install_gpe_block(acpi_handle gpe_device, | |||
599 | * For user-installed GPE Block Devices, the gpe_block_base_number | 599 | * For user-installed GPE Block Devices, the gpe_block_base_number |
600 | * is always zero | 600 | * is always zero |
601 | */ | 601 | */ |
602 | status = | 602 | status = acpi_ev_create_gpe_block(node, gpe_block_address->address, |
603 | acpi_ev_create_gpe_block(node, gpe_block_address, register_count, 0, | 603 | gpe_block_address->space_id, |
604 | interrupt_number, &gpe_block); | 604 | register_count, 0, interrupt_number, |
605 | &gpe_block); | ||
605 | if (ACPI_FAILURE(status)) { | 606 | if (ACPI_FAILURE(status)) { |
606 | goto unlock_and_exit; | 607 | goto unlock_and_exit; |
607 | } | 608 | } |