Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 241677
b: refs/heads/master
c: 82911fe
h: refs/heads/master
i:
  241675: a84342f
v: v3
  • Loading branch information
Rafael J. Wysocki committed Feb 24, 2011
1 parent 88bd0fb commit b6f620a
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: c41b93fb8551148a93d3bba870365e8489317f02
refs/heads/master: 82911fe1988fadfc9c01673202cbc411aa803244
3 changes: 0 additions & 3 deletions trunk/drivers/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ static int acpi_suspend_begin(suspend_state_t pm_state)
static int acpi_suspend_enter(suspend_state_t pm_state)
{
acpi_status status = AE_OK;
unsigned long flags = 0;
u32 acpi_state = acpi_target_sleep_state;

ACPI_FLUSH_CPU_CACHE();
Expand All @@ -256,7 +255,6 @@ static int acpi_suspend_enter(suspend_state_t pm_state)
return error;
}

local_irq_save(flags);
switch (acpi_state) {
case ACPI_STATE_S1:
barrier();
Expand Down Expand Up @@ -290,7 +288,6 @@ static int acpi_suspend_enter(suspend_state_t pm_state)
/* Allow EC transactions to happen. */
acpi_ec_unblock_transactions_early();

local_irq_restore(flags);
printk(KERN_DEBUG "Back to C!\n");

suspend_nvs_restore();
Expand Down

0 comments on commit b6f620a

Please sign in to comment.