ACPI: compilation fixes

Pavel Machek (pavel@ucw.cz)
Thu, 1 Aug 2002 12:40:53 +0200


Hi!

2.5.29 will not compile for me without these, please apply.

Pavel
--- clean/drivers/acpi/system.c Mon Jul 29 20:02:23 2002
+++ linux-swsusp/drivers/acpi/system.c Mon Jul 29 20:14:27 2002
@@ -256,7 +256,8 @@
acpi_status status = AE_ERROR;
unsigned long flags = 0;

- save_flags(flags);
+ local_irq_save(flags);
+ local_irq_disable();

switch (state)
{
@@ -270,7 +271,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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/