Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 241681
b: refs/heads/master
c: aad83b1
h: refs/heads/master
i:
  241679: 2da3c85
v: v3
  • Loading branch information
Rafael J. Wysocki committed Feb 24, 2011
1 parent 775df4c commit 529532f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: f1a2003e22f6b50ea21f7f4b38b38c5ebc9c8017
refs/heads/master: aad83b143008e1d406248803550bfbfc600b6398
3 changes: 0 additions & 3 deletions trunk/drivers/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,16 +457,13 @@ static int acpi_hibernation_begin(void)
static int acpi_hibernation_enter(void)
{
acpi_status status = AE_OK;
unsigned long flags = 0;

ACPI_FLUSH_CPU_CACHE();

local_irq_save(flags);
/* This shouldn't return. If it returns, we have a problem */
status = acpi_enter_sleep_state(ACPI_STATE_S4);
/* Reprogram control registers and execute _BFS */
acpi_leave_sleep_state_prep(ACPI_STATE_S4);
local_irq_restore(flags);

return ACPI_SUCCESS(status) ? 0 : -EFAULT;
}
Expand Down

0 comments on commit 529532f

Please sign in to comment.