2011-06-10 17:03:53

by Vitaliy Ivanov

[permalink] [raw]
Subject: [BUGFIX] [PATCH] APM: Dynamic select of APM_CPU_IDLE on APM enabling.


Bug fix for #36902:
https://bugzilla.kernel.org/show_bug.cgi?id=36902

I saw email about removing APM completely but as of now we can add the following to close build issue.
---

Dynamic select of APM_CPU_IDLE feature for enabling APM.

Signed-off-by: Vitaliy Ivanov <[email protected]>

>From f00634bec035f1526266340bf75aa4e2620c8284 Mon Sep 17 00:00:00 2001
From: Vitaliy Ivanov <[email protected]>
Date: Fri, 10 Jun 2011 19:06:37 +0300
Subject: [PATCH] Dynamic select of APM_CPU_IDLE on APM enabling.

---
arch/x86/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index da34972..3c9b459 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1721,6 +1721,7 @@ config X86_APM_BOOT

menuconfig APM
tristate "APM (Advanced Power Management) BIOS support"
+ select APM_CPU_IDLE
depends on X86_32 && PM_SLEEP
---help---
APM is a BIOS specification for saving power using several different
--
1.7.0.4



2011-06-11 10:31:39

by Vitaliy Ivanov

[permalink] [raw]
Subject: Re: [BUGFIX] [PATCH] APM: Dynamic select of APM_CPU_IDLE on APM enabling.

Thanks David.

On Sat, Jun 11, 2011 at 3:38 AM, David Hill <[email protected]> wrote:
>
> Hi !
>
> ? Recompiling the kernel with APM_CPU_IDLE solves the issue.

Please update?the defect.

>
> Thank you very much,
>
> David C. Hill
> ----- Original Message ----- From: "Vitaliy Ivanov" <[email protected]>
> To: <[email protected]>
> Cc: <[email protected]>; <[email protected]>; <[email protected]>
> Sent: Friday, June 10, 2011 1:03 PM
> Subject: [BUGFIX] [PATCH] APM: Dynamic select of APM_CPU_IDLE on APM enabling.
>
>
>>
>> Bug fix for #36902:
>> https://bugzilla.kernel.org/show_bug.cgi?id=36902
>>
>> I saw email about removing APM completely but as of now we can add the following to close build issue.
>> ---
>>
>> Dynamic select of APM_CPU_IDLE feature for enabling APM.
>>
>> Signed-off-by: Vitaliy Ivanov <[email protected]>
>>
>>> From f00634bec035f1526266340bf75aa4e2620c8284 Mon Sep 17 00:00:00 2001
>>
>> From: Vitaliy Ivanov <[email protected]>
>> Date: Fri, 10 Jun 2011 19:06:37 +0300
>> Subject: [PATCH] Dynamic select of APM_CPU_IDLE on APM enabling.
>>
>> ---
>> arch/x86/Kconfig | ? ?1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
>> index da34972..3c9b459 100644
>> --- a/arch/x86/Kconfig
>> +++ b/arch/x86/Kconfig
>> @@ -1721,6 +1721,7 @@ config X86_APM_BOOT
>>
>> menuconfig APM
>> ?tristate "APM (Advanced Power Management) BIOS support"
>> + select APM_CPU_IDLE
>> ?depends on X86_32 && PM_SLEEP
>> ?---help---
>> ? APM is a BIOS specification for saving power using several different
>> --
>> 1.7.0.4