[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)
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>

No differences found