2.5.30 ACPI: fixing compilation
flat view
From: Pavel Machek <hidden>
Date: 2002-08-04 18:56:09
Also in:
lkml
From: Pavel Machek <hidden>
Date: 2002-08-04 18:56:09
Also in:
lkml
Hi! This fixes compilation and is actually right since we can't get SMP machine suspending, anyway. We'll have to bring all other CPUs down for suspend in future. Please apply, Pavel
--- clean/drivers/acpi/system.c Mon Jul 29 20:02:23 2002
+++ linux-swsusp/drivers/acpi/system.c Sun Aug 4 20:57:01 2002@@ -256,7 +256,7 @@ acpi_status status = AE_ERROR; unsigned long flags = 0; - save_flags(flags); + local_irq_save(flags); switch (state) {
@@ -270,7 +270,7 @@ do_suspend_lowlevel(0); break; } - restore_flags(flags); + local_irq_restore(flags); return status; }
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf