Package: kernel-source-2.6.8 Version: 2.6.8-15 Severity: normal Tags: patch
Hi, Compilation fails when ACPI_PROCESSOR is set to "m" and we want to use some CPU_FREQ options (X86_POWERNOW_K7, X86_POWERNOW_K8 and X86_SPEEDSTEP_CENTRINO). Randy Dunlap posted[1] a patch on lkml on june 2004 and the problem is solved (at least) in kernel-source-2.6.10. But since kernel-source-2.6.8 is still distributed (and 2.6.8 is going to be the ``official'' kernel for sarge), it would be good to patch it so. I reproduce the patch below: ====== the patch ===== diff -Naurp ./arch/i386/kernel/cpu/cpufreq/Kconfig~cpu_freqs ./arch/i386/kernel/cpu/cpufreq/Kconfig --- ./arch/i386/kernel/cpu/cpufreq/Kconfig~cpu_freqs 2004-06-15 22:19:01.000000000 -0700 +++ ./arch/i386/kernel/cpu/cpufreq/Kconfig 2004-06-17 21:52:21.000000000 -0700 @@ -80,7 +80,7 @@ config X86_POWERNOW_K6 config X86_POWERNOW_K7 tristate "AMD Mobile Athlon/Duron PowerNow!" - depends on CPU_FREQ_TABLE + depends on CPU_FREQ_TABLE && ACPI_PROCESSOR help This adds the CPUFreq driver for mobile AMD K7 mobile processors. @@ -90,7 +90,7 @@ config X86_POWERNOW_K7 config X86_POWERNOW_K8 tristate "AMD Opteron/Athlon64 PowerNow!" - depends on CPU_FREQ && EXPERIMENTAL + depends on CPU_FREQ && ACPI_PROCESSOR && EXPERIMENTAL help This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors. @@ -111,7 +111,7 @@ config X86_GX_SUSPMOD config X86_SPEEDSTEP_CENTRINO tristate "Intel Enhanced SpeedStep" - depends on CPU_FREQ_TABLE + depends on CPU_FREQ_TABLE && ACPI_PROCESSOR help This adds the CPUFreq driver for Enhanced SpeedStep enabled mobile CPUs. This means Intel Pentium M (Centrino) CPUs. ===== end of the patch ===== Cheers, Lionel. [1] http://www.uwsg.iu.edu/hypermail/linux/kernel/0406.2/0578.html -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (800, 'testing'), (700, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-20050129-0 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) Versions of packages kernel-source-2.6.8 depends on: ii binutils 2.15-5 The GNU assembler, linker and bina ii bzip2 1.0.2-5 high-quality block-sorting file co ii coreutils [fileutils] 5.2.1-2 The GNU core utilities ii fileutils 5.2.1-2 The GNU file management utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]