ARM: arch_timer: use full 64-bit counter for sched_clock
authorRob Herring <rob.herring@calxeda.com>
Mon, 11 Mar 2013 21:23:46 +0000 (16:23 -0500)
committerRob Herring <rob.herring@calxeda.com>
Thu, 11 Apr 2013 20:11:14 +0000 (15:11 -0500)
commit023796b9be3a77481cd5ee0b64a13a55bb0d5df4
treeecf5a33e6deb251eee4cb61a12b5f60273c72bf2
parent7e48c0b9d9ab07c92cd26f167010cd5a50eb0cec
ARM: arch_timer: use full 64-bit counter for sched_clock

Only 32-bits of the arch timer were being used and wrapping was needlessly
being done in s/w. By using the full counter (56-64 bits), we don't need
to deal with wrapping and can simplify the implementation when using
arch timer.

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