2006-11-16 02:47:13

by Chris Wright

[permalink] [raw]
Subject: [patch 22/30] CPUFREQ: Make acpi-cpufreq unsticky again.

-stable review patch. If anyone has any objections, please let us know.
------------------

From: Dave Jones <[email protected]>

This caused suspend/resume regressions.

Signed-off-by: Dave Jones <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
---

arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.18.2.orig/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ linux-2.6.18.2/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -560,7 +560,6 @@ static struct cpufreq_driver acpi_cpufre
.name = "acpi-cpufreq",
.owner = THIS_MODULE,
.attr = acpi_cpufreq_attr,
- .flags = CPUFREQ_STICKY,
};


@@ -571,7 +570,7 @@ acpi_cpufreq_init (void)

acpi_cpufreq_early_init_acpi();

- return cpufreq_register_driver(&acpi_cpufreq_driver);
+ return cpufreq_register_driver(&acpi_cpufreq_driver);
}



--