[CPUFREQ] ondemand: don't synchronize sample rate unless multiple cpus present
authorJocelyn Falempe <jocelyn.falempe@motorola.com>
Thu, 11 Mar 2010 22:01:11 +0000 (14:01 -0800)
committerDave Jones <davej@redhat.com>
Tue, 3 Aug 2010 17:47:04 +0000 (13:47 -0400)
commita665df9d510bfd5bac5664f436411f921471264a
tree0814b40d3cf1974f0b6c9ad844d38d278fd0e458
parent226528c6100e4191842e61997110c8ace40605f7
[CPUFREQ] ondemand: don't synchronize sample rate unless multiple cpus present

For UP systems this is not required, and results in a more consistent
sample interval.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Jocelyn Falempe <jocelyn.falempe@motorola.com>
Signed-off-by: Mike Chan <mike@android.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_ondemand.c