diff mbox

commit 9630bdd9 changes behavior of the poweroff - bug?

Message ID 20100427065109.GA3907@tiehlicka.suse.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Michal Hocko April 27, 2010, 6:51 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/wakeup.c b/drivers/acpi/wakeup.c
index 4b9d339..a0f4859 100644
--- a/drivers/acpi/wakeup.c
+++ b/drivers/acpi/wakeup.c
@@ -113,8 +113,9 @@  int __init acpi_wakeup_device_init(void)
 		if (!dev->wakeup.flags.always_enabled ||
 		    dev->wakeup.state.enabled)
 			continue;
- 		acpi_enable_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number,
+ 		/*acpi_enable_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number,
  				ACPI_GPE_TYPE_WAKE);
+		 */
 		dev->wakeup.state.enabled = 1;
 	}
 	mutex_unlock(&acpi_device_lock);