BUG linux-2.6-20-rc1: kernel BUG at drivers/cpufreq/cpufreq_userspace.c
In-Reply-To: <[email protected]>
Quoted 3 lines · Berthold Cogel
I've found a kernel bug in linux-2.6-20-rc1 from kernel.org:
Dec 17 19:12:56 localhost kernel: kernel BUG at drivers/cpufreq/cpufreq_userspace.c:140!
Does this fix it?
Signed-off-by Chuck Ebbert <[email protected]>
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +1 -1
@@ -706,7 +706,7 @@ static int acpi_cpufreq_cpu_init(structbreak ;case ACPI_ADR_SPACE_FIXED_HARDWARE : acpi_cpufreq_driver.get = get_cur_freq_on_cpu; -get_cur_freq_on_cpu (cpu); + policy->cur =get_cur_freq_on_cpu (cpu);break ;default :break ;
Signature · 1 line
MBTI: IXTP
Quoted 13 lines · Chuck Ebbert
In-Reply-To: <[email protected]>
Quoted 2 lines · Berthold Cogel
I've found a kernel bug in linux-2.6-20-rc1 from kernel.org:
Dec 17 19:12:56 localhost kernel: kernel BUG at drivers/cpufreq/cpufreq_userspace.c:140!Does this fix it?
Signed-off-by Chuck Ebbert <[email protected]>
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c static int acpi_cpufreq_cpu_init(struct · line 712
Quoted 8 lines
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +1
-1@@ -706,7 +706,7 @@ static int acpi_cpufreq_cpu_init(structbreak ;case ACPI_ADR_SPACE_FIXED_HARDWARE : acpi_cpufreq_driver.get = get_cur_freq_on_cpu; -get_cur_freq_on_cpu (cpu); + policy->cur =get_cur_freq_on_cpu (cpu);break ;default :break ;
A similar fix is in Linus' -git tree as
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a507ac4b01ed379a74eca5060f3553c4a4e5854c
Hopefully one day the kernel.org scripts will get around to making a -git6 patch.
Dave
Signature · 1 line
http://www.codemonkey.org.uk