[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20061219142003.GC25461@redhat.com>
Date: Tue, 19 Dec 2006 09:20:03 -0500
From: Dave Jones <davej@...hat.com>
To: Chuck Ebbert <76306.1226@...puserve.com>
Cc: Berthold Cogel <cogel@....uni-koeln.de>,
linux-kernel@...r.kernel.org,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>
Subject: Re: BUG linux-2.6-20-rc1: kernel BUG at drivers/cpufreq/cpufreq_userspace.c
On Tue, Dec 19, 2006 at 04:18:13AM -0500, Chuck Ebbert wrote:
> In-Reply-To: <45859609.8050502@....uni-koeln.de>
>
> On Sun, 17 Dec 2006 20:10:01 +0100, Berthold Cogel wrote:
> > 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 <76306.1226@...puserve.com>
>
> --- 2.6.20-rc1-32smp.orig/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
> +++ 2.6.20-rc1-32smp/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
> @@ -706,7 +706,7 @@ static int acpi_cpufreq_cpu_init(struct
> break;
> 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
--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists