[PATCH] cpufreq: remove dbs_mutex

From: Ingo Molnar
Date: Tue Jun 23 2009 - 14:18:52 EST

* Thomas Renninger <trenn@xxxxxxx> wrote:

> > Note, this bug warning still triggers rather frequently with
> > latest -git (fb20871) during bootup on two test-systems -
> > relevant portion of the bootlog attached below. As usual i can
> > test any fix for this.
> Best rip out the dbs_mutex in drivers/cpufreq/cpufreq_ondemand.c
> totally. I can provide several locking cleanups for cpufreq for
> .31 the next days, including dbs_mutex removal, which I think is
> not needed. The dbs_mutex removal which should fix this could then
> be marked: CC: stable@xxxxxxxxxx

drivers/cpufreq/cpufreq_conservative.c too i guess?

Something like the patch below?

Utterly untested and such.