From: Stephen Boyd Date: Thu, 18 Jul 2013 23:21:14 +0000 (-0700) Subject: clocksource: Extract max nsec calculation into separate function X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~39^2~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87d8b9eb7eb6669aad6435a51e9862362141ba76;p=pandora-kernel.git clocksource: Extract max nsec calculation into separate function 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 Signed-off-by: John Stultz --- Reading git-diff-tree failed