Skip to contentSkip to conversation

ACPI power off regression in 2.6.23-rc8 (NOT in rc7)

DISCUSSION Daniel Ritz 3 participants 3 messages Sep 25, 2007 ACPI

lore
Share & tools
lore
#0 lore raw

does that one help?

[ as attachment since i'm on webmail ]

ACPI: acpi_sleep_prepare() should not depent on CONFIG_SUSPEND

Signature · 2 lines
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
drivers/acpi/sleep/main.c +2 -0
index 85633c5..b9c6fcb 100644
@@ -59,6 +59,7 @@ static int acpi_pm_set_target(suspend_state_t pm_state)
 	}
 	return error;
 }
+#endif /* CONFIG_SUSPEND */
 
 int acpi_sleep_prepare(u32 acpi_state)
 {
@@ -81,6 +82,7 @@ int acpi_sleep_prepare(u32 acpi_state)
 	return 0;
 }
 
+#ifdef CONFIG_SUSPEND
 /**
  *	acpi_pm_prepare - Do preliminary suspend work.
  *	@pm_state: ignored
#1 lore raw

Daniel, thanks for the patch, but patch for solving your issue is already done. And it is different from one we having here.

If you feel "patchy" today you may try to remove ACPI_SLEEP from drivers/acpi/sleep/Makefile in the raw of main.o

Regards,
Alex.

Quoted 6 lines · Daniel Ritz

does that one help?

[ as attachment since i'm on webmail ]

ACPI: acpi_sleep_prepare() should not depent on CONFIG_SUSPEND