Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275022
b: refs/heads/master
c: f7f71cf
h: refs/heads/master
v: v3
  • Loading branch information
Rakib Mullick authored and Len Brown committed Nov 7, 2011
1 parent 3c34d82 commit e82eb13
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3bf3f8b19d2bfccc40f13c456bf339fd8f535ebc
refs/heads/master: f7f71cfbf0c276ee3d8d856d0f35a41aed997fa4
11 changes: 6 additions & 5 deletions trunk/drivers/acpi/acpica/hwregs.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,16 +269,17 @@ acpi_status acpi_hw_clear_acpi_status(void)

status = acpi_hw_register_write(ACPI_REGISTER_PM1_STATUS,
ACPI_BITMASK_ALL_FIXED_STATUS);
if (ACPI_FAILURE(status)) {
goto unlock_and_exit;
}

acpi_os_release_lock(acpi_gbl_hardware_lock, lock_flags);

if (ACPI_FAILURE(status))
goto exit;

/* Clear the GPE Bits in all GPE registers in all GPE blocks */

status = acpi_ev_walk_gpe_list(acpi_hw_clear_gpe_block, NULL);

unlock_and_exit:
acpi_os_release_lock(acpi_gbl_hardware_lock, lock_flags);
exit:
return_ACPI_STATUS(status);
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/atomicio.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void __iomem *__acpi_ioremap_fast(phys_addr_t paddr,
{
struct acpi_iomap *map;

map = __acpi_find_iomap(paddr, size/8);
map = __acpi_find_iomap(paddr, size);
if (map)
return map->vaddr + (paddr - map->paddr);
else
Expand Down

0 comments on commit e82eb13

Please sign in to comment.