clocksource: Extract max nsec calculation into separate function
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 18 Jul 2013 23:21:14 +0000 (16:21 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 30 Jul 2013 18:24:20 +0000 (11:24 -0700)
We need to calculate the same number in the clocksource code and
the sched_clock code, so extract this code into its own function.
We also drop the min_t and just use min() because the two types
are the same.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>

No differences found