Disable asynchronous suspend by default.

This commit is contained in:
Chuck Ebbert 2010-09-10 10:17:06 -04:00
parent fbc4283e12
commit 63fcde2459
2 changed files with 17 additions and 1 deletions

View File

@ -616,6 +616,7 @@ Patch300: create-sys-fs-cgroup-to-mount-cgroupfs-on.patch
Patch380: linux-2.6-defaults-pci_no_msi.patch
Patch381: linux-2.6-defaults-pci_use_crs.patch
Patch382: linux-2.6-defaults-no-pm-async.patch
Patch383: linux-2.6-defaults-aspm.patch
Patch384: pci-acpi-disable-aspm-if-no-osc.patch
Patch385: pci-aspm-dont-enable-too-early.patch
@ -1195,6 +1196,7 @@ ApplyPatch linux-2.6-defaults-acpi-video.patch
ApplyPatch linux-2.6-acpi-video-dos.patch
ApplyPatch acpi-ec-add-delay-before-write.patch
ApplyPatch linux-2.6-acpi-debug-infinite-loop.patch
ApplyPatch linux-2.6-defaults-no-pm-async.patch
# Various low-impact patches to aid debugging.
ApplyPatch linux-2.6-debug-sizeof-structs.patch
@ -1926,7 +1928,10 @@ fi
# and build.
%changelog
* Fri Sep 10 2010 Ben Skeggs <bskeggs@redhat.com>
* Fri Sep 10 2010 Chuck Ebbert <cebbert@redhat.com>
- Disable asynchronous suspend by default.
* Fri Sep 10 2010 Ben Skeggs <bskeggs@redhat.com> - 2.6.35.4-23
- nouveau: disable acceleration on nva3/nva5/nva8
* Wed Sep 08 2010 Kyle McMartin <kyle@redhat.com>

View File

@ -0,0 +1,11 @@
--- linux-2.6.34.noarch.orig/kernel/power/main.c
+++ linux-2.6.34.noarch/kernel/power/main.c
@@ -45,7 +45,7 @@ int pm_notifier_call_chain(unsigned long
}
/* If set, devices may be suspended and resumed asynchronously. */
-int pm_async_enabled = 1;
+int pm_async_enabled;
static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr,
char *buf)