diff options
author | Len Brown <len.brown@intel.com> | 2005-08-04 18:09:09 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-04 18:09:09 -0400 |
commit | 5d2a22079c825669d91a3a200332f1053b4b61b0 (patch) | |
tree | 2e6e88bbcc3e17535fdf3103540b246b3658e20b /drivers/acpi/events/evgpe.c | |
parent | 1c5ad84516ae7ea4ec868436a910a6bd8d20215a (diff) | |
parent | bd6dbdf3c7b9784fbf5d8500e427a954e27a976a (diff) |
/home/lenb/src/to-akpm branch 'acpi-2.6.12'
Diffstat (limited to 'drivers/acpi/events/evgpe.c')
-rw-r--r-- | drivers/acpi/events/evgpe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/events/evgpe.c b/drivers/acpi/events/evgpe.c index 081120b109ba..ede834df4f69 100644 --- a/drivers/acpi/events/evgpe.c +++ b/drivers/acpi/events/evgpe.c | |||
@@ -396,6 +396,7 @@ acpi_ev_gpe_detect ( | |||
396 | struct acpi_gpe_register_info *gpe_register_info; | 396 | struct acpi_gpe_register_info *gpe_register_info; |
397 | u32 status_reg; | 397 | u32 status_reg; |
398 | u32 enable_reg; | 398 | u32 enable_reg; |
399 | u32 flags; | ||
399 | acpi_status status; | 400 | acpi_status status; |
400 | struct acpi_gpe_block_info *gpe_block; | 401 | struct acpi_gpe_block_info *gpe_block; |
401 | acpi_native_uint i; | 402 | acpi_native_uint i; |
@@ -412,7 +413,7 @@ acpi_ev_gpe_detect ( | |||
412 | 413 | ||
413 | /* Examine all GPE blocks attached to this interrupt level */ | 414 | /* Examine all GPE blocks attached to this interrupt level */ |
414 | 415 | ||
415 | acpi_os_acquire_lock (acpi_gbl_gpe_lock, ACPI_ISR); | 416 | flags = acpi_os_acquire_lock (acpi_gbl_gpe_lock); |
416 | gpe_block = gpe_xrupt_list->gpe_block_list_head; | 417 | gpe_block = gpe_xrupt_list->gpe_block_list_head; |
417 | while (gpe_block) { | 418 | while (gpe_block) { |
418 | /* | 419 | /* |
@@ -476,7 +477,7 @@ acpi_ev_gpe_detect ( | |||
476 | 477 | ||
477 | unlock_and_exit: | 478 | unlock_and_exit: |
478 | 479 | ||
479 | acpi_os_release_lock (acpi_gbl_gpe_lock, ACPI_ISR); | 480 | acpi_os_release_lock (acpi_gbl_gpe_lock, flags); |
480 | return (int_status); | 481 | return (int_status); |
481 | } | 482 | } |
482 | 483 | ||