ARM: sched_clock: allow changing to higher frequency counter
authorRob Herring <rob.herring@calxeda.com>
Fri, 8 Feb 2013 22:14:59 +0000 (16:14 -0600)
committerRob Herring <rob.herring@calxeda.com>
Wed, 10 Apr 2013 23:27:11 +0000 (18:27 -0500)
commitc115739da801ea1ea20c48e2991ce6761496bef1
tree8d7632d56301903a8ab88a9121f2c1c1715958d8
parent3d5a96582303e28c48699f3faaf920ef7d43e6f2
ARM: sched_clock: allow changing to higher frequency counter

Allow multiple calls to setup_sched_clock and switch to the new counter
if it is higher frequency.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/kernel/sched_clock.c