cris: move usec/nsec conversion to do_slow_gettimeoffset
authorStephen Warren <swarren@nvidia.com>
Thu, 8 Nov 2012 17:50:55 +0000 (10:50 -0700)
committerStephen Warren <swarren@nvidia.com>
Mon, 24 Dec 2012 16:18:32 +0000 (09:18 -0700)
commit547046f2f09f1837d39619afbc7a6e35673d7c98
tree39c9df8e729e7aa59183711ccaed16928ac5808f
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
cris: move usec/nsec conversion to do_slow_gettimeoffset

Move usec to nsec conversion from arch_gettimeoffset() to
do_slow_gettimeoffset(); in a future patch, do_slow_gettimeoffset()
will be used directly as the implementation of arch_gettimeoffset(),
so needs to perform all required calculations.

Cc: Mikael Starvik <starvik@axis.com>
Cc: linux-cris-kernel@axis.com
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/cris/arch-v10/kernel/time.c
arch/cris/kernel/time.c