diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-19 19:46:07 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-19 19:46:07 -0400 |
| commit | 51509a283a908d73b20371addc67ee3ae7189934 (patch) | |
| tree | bb920f09799cc47d496f26f7deb78a315351150d /arch/x86/kernel | |
| parent | 75f5076b12924f53340209d2cde73b98ed3b3095 (diff) | |
| parent | 6538df80194e305f1b78cafb556f4bb442f808b3 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6: (34 commits)
PM: Introduce generic prepare and complete callbacks for subsystems
PM: Allow drivers to allocate memory from .prepare() callbacks safely
PM: Remove CONFIG_PM_VERBOSE
Revert "PM / Hibernate: Reduce autotuned default image size"
PM / Hibernate: Add sysfs knob to control size of memory for drivers
PM / Wakeup: Remove useless synchronize_rcu() call
kmod: always provide usermodehelper_disable()
PM / ACPI: Remove acpi_sleep=s4_nonvs
PM / Wakeup: Fix build warning related to the "wakeup" sysfs file
PM: Print a warning if firmware is requested when tasks are frozen
PM / Runtime: Rework runtime PM handling during driver removal
Freezer: Use SMP barriers
PM / Suspend: Do not ignore error codes returned by suspend_enter()
PM: Fix build issue in clock_ops.c for CONFIG_PM_RUNTIME unset
PM: Revert "driver core: platform_bus: allow runtime override of dev_pm_ops"
OMAP1 / PM: Use generic clock manipulation routines for runtime PM
PM: Remove sysdev suspend, resume and shutdown operations
PM / PowerPC: Use struct syscore_ops instead of sysdevs for PM
PM / UNICORE32: Use struct syscore_ops instead of sysdevs for PM
PM / AVR32: Use struct syscore_ops instead of sysdevs for PM
...
Diffstat (limited to 'arch/x86/kernel')
| -rw-r--r-- | arch/x86/kernel/acpi/sleep.c | 5 | ||||
| -rw-r--r-- | arch/x86/kernel/apm_32.c | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c index ff93bc1b09c3..18a857ba7a25 100644 --- a/arch/x86/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep.c | |||
| @@ -112,11 +112,6 @@ static int __init acpi_sleep_setup(char *str) | |||
| 112 | #ifdef CONFIG_HIBERNATION | 112 | #ifdef CONFIG_HIBERNATION |
| 113 | if (strncmp(str, "s4_nohwsig", 10) == 0) | 113 | if (strncmp(str, "s4_nohwsig", 10) == 0) |
| 114 | acpi_no_s4_hw_signature(); | 114 | acpi_no_s4_hw_signature(); |
| 115 | if (strncmp(str, "s4_nonvs", 8) == 0) { | ||
| 116 | pr_warning("ACPI: acpi_sleep=s4_nonvs is deprecated, " | ||
| 117 | "please use acpi_sleep=nonvs instead"); | ||
| 118 | acpi_nvs_nosave(); | ||
| 119 | } | ||
| 120 | #endif | 115 | #endif |
| 121 | if (strncmp(str, "nonvs", 5) == 0) | 116 | if (strncmp(str, "nonvs", 5) == 0) |
| 122 | acpi_nvs_nosave(); | 117 | acpi_nvs_nosave(); |
diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c index adee12e0da1f..3bfa02235965 100644 --- a/arch/x86/kernel/apm_32.c +++ b/arch/x86/kernel/apm_32.c | |||
| @@ -1238,7 +1238,6 @@ static int suspend(int vetoable) | |||
| 1238 | dpm_suspend_noirq(PMSG_SUSPEND); | 1238 | dpm_suspend_noirq(PMSG_SUSPEND); |
| 1239 | 1239 | ||
| 1240 | local_irq_disable(); | 1240 | local_irq_disable(); |
| 1241 | sysdev_suspend(PMSG_SUSPEND); | ||
| 1242 | syscore_suspend(); | 1241 | syscore_suspend(); |
| 1243 | 1242 | ||
| 1244 | local_irq_enable(); | 1243 | local_irq_enable(); |
| @@ -1258,7 +1257,6 @@ static int suspend(int vetoable) | |||
| 1258 | err = (err == APM_SUCCESS) ? 0 : -EIO; | 1257 | err = (err == APM_SUCCESS) ? 0 : -EIO; |
| 1259 | 1258 | ||
| 1260 | syscore_resume(); | 1259 | syscore_resume(); |
| 1261 | sysdev_resume(); | ||
| 1262 | local_irq_enable(); | 1260 | local_irq_enable(); |
| 1263 | 1261 | ||
| 1264 | dpm_resume_noirq(PMSG_RESUME); | 1262 | dpm_resume_noirq(PMSG_RESUME); |
| @@ -1282,7 +1280,6 @@ static void standby(void) | |||
| 1282 | dpm_suspend_noirq(PMSG_SUSPEND); | 1280 | dpm_suspend_noirq(PMSG_SUSPEND); |
| 1283 | 1281 | ||
| 1284 | local_irq_disable(); | 1282 | local_irq_disable(); |
| 1285 | sysdev_suspend(PMSG_SUSPEND); | ||
| 1286 | syscore_suspend(); | 1283 | syscore_suspend(); |
| 1287 | local_irq_enable(); | 1284 | local_irq_enable(); |
| 1288 | 1285 | ||
| @@ -1292,7 +1289,6 @@ static void standby(void) | |||
| 1292 | 1289 | ||
| 1293 | local_irq_disable(); | 1290 | local_irq_disable(); |
| 1294 | syscore_resume(); | 1291 | syscore_resume(); |
| 1295 | sysdev_resume(); | ||
| 1296 | local_irq_enable(); | 1292 | local_irq_enable(); |
| 1297 | 1293 | ||
| 1298 | dpm_resume_noirq(PMSG_RESUME); | 1294 | dpm_resume_noirq(PMSG_RESUME); |
