[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)
committerMatt Sealey <matt@genesi-usa.com>
Tue, 22 Feb 2011 01:58:35 +0000 (19:58 -0600)
commit7080e2f8e7e0f6e65d9104ac3195e83984090123
tree50394c9bb8a64c4c5a049217e0832b2954ce6c94
parent6d8b14fb3df81881baaa2379a487bbe011edc58a
[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>
(cherry picked from commit a665df9d510bfd5bac5664f436411f921471264a)
(cherry picked from commit 4dcc8b45d5187ea0cea8d85d4a1ba758fa209b67)
drivers/cpufreq/cpufreq_ondemand.c