2.5.30 ACPI: fixing compilation
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
drivers/acpi/system.c +2 -2
@@ -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; }
Signature · 2 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net. What goes next? Inserting advertisment *into* email?
Hi,
Quoted 2 lines · Pavel Machek
This fixes compilation and is actually right since we can't get SMP machine suspending, anyway.
Did we make sure that we won't suspend on smp? I can't see where that happens.
Thunder
Signature · 1 line
.-../../-./..-/-..- .-./..-/.-.././.../.-.-.-
Hi!
Quoted 5 lines
Quoted 2 lines
This fixes compilation and is actually right since we can't get SMP machine suspending, anyway.
Did we make sure that we won't suspend on smp? I can't see where that happens.
It was broken before so I left it broken. Second CPU will probably kill it fast enough not to corrupt data too badly.
Does anyone have S3-capable SMP system?
SWSUSP refuses to work on SMP.
Pavel
Signature · 2 lines
Casualities in World Trade Center: ~3k dead inside the building, cryptography in U.S.A. and free speech in Czech Republic.
Hi,
Quoted 2 lines · Pavel Machek
It was broken before so I left it broken. Second CPU will probably kill it fast enough not to corrupt data too badly.
I meant, depending the code on !CONFIG_SMP.
Thunder
Signature · 1 line
.-../../-./..-/-..- .-./..-/.-.././.../.-.-.-