Commit 8d335aba authored by Andy Grover's avatar Andy Grover Committed by Andy Grover

Change acpi_system_suspend to use new irq functions (Pavel Machek)

parent 8370231b
...@@ -256,7 +256,8 @@ acpi_system_suspend( ...@@ -256,7 +256,8 @@ acpi_system_suspend(
acpi_status status = AE_ERROR; acpi_status status = AE_ERROR;
unsigned long flags = 0; unsigned long flags = 0;
save_flags(flags); local_irq_save(flags);
local_irq_disable();
switch (state) switch (state)
{ {
...@@ -270,7 +271,7 @@ acpi_system_suspend( ...@@ -270,7 +271,7 @@ acpi_system_suspend(
do_suspend_lowlevel(0); do_suspend_lowlevel(0);
break; break;
} }
restore_flags(flags); local_irq_restore(flags);
return status; return status;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment