]> err.no Git - linux-2.6/commit
[CPUFREQ] ondemand governor restructure the work callback
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 6 Feb 2007 00:12:44 +0000 (16:12 -0800)
committerDave Jones <davej@redhat.com>
Sun, 11 Feb 2007 01:01:47 +0000 (20:01 -0500)
commit529af7a14f04f92213bac371931a2b2b060c63fa
treef5abea57e39f694ab3dd3f65d0303f10f38c73c3
parent5a01f2e8f3ac134e24144d74bb48a60236f7024d
[CPUFREQ] ondemand governor restructure the work callback

Restructure the delayed_work callback in ondemand.

This eliminates the need for smp_processor_id in the callback function and
also helps in proper locking and avoiding flush_workqueue when stopping the
governor (done in subsequent patch).

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_ondemand.c