diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2008-04-30 19:57:15 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-30 19:57:15 +0200 |
commit | 36a913586597cab1cd565e9bf348d037f0df955b (patch) | |
tree | 16466b07b7edc2c53357c2e00e39164dabc95af9 /arch/arm/plat-s3c24xx/clock.c | |
parent | 2.6.25 regression: powertop says 120K wakeups/sec (diff) | |
download | linux-36a913586597cab1cd565e9bf348d037f0df955b.tar.xz linux-36a913586597cab1cd565e9bf348d037f0df955b.zip |
ACPI: Fix acpi_processor_idle and idle= boot parameters interaction
acpi_processor_idle and "idle=" boot parameter interaction is broken.
The problem is that, at boot time acpi driver is checking for "idle=" boot
option and not registering the acpi idle handler. But, when there is a CST
changed callback (typically when switching AC <-> battery or suspend-resume)
there are no checks for boot_option_idle_override and acpi idle handler tries
to get installed with nasty side effects.
With CPU_IDLE configured this issue causes results in a nasty oops on CST
change callback and without CPU_IDLE there is no oops, but boot option
of "idle=" gets ignored and acpi idle handler gets installed.
Change the behavior to not do anything in acpi idle handler when there is a
"idle=" boot option.
Note that the problem is only there when "idle=" boot option is used.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/arm/plat-s3c24xx/clock.c')
0 files changed, 0 insertions, 0 deletions