From: Thomas Gleixner Date: Wed, 16 Jul 2014 21:05:10 +0000 (+0000) Subject: clocksource: Make delta calculation a function X-Git-Tag: omap-for-v3.17/fixes-against-rc2~152^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a97837784acbf9fed699fc04d1799b0eb742fdf;p=pandora-kernel.git clocksource: Make delta calculation a function We want to move the TSC sanity check into core code to make NMI safe accessors to clock monotonic[_raw] possible. For this we need to sanity check the delta calculation. Create a helper function and convert all sites to use it. [ Build fix from jstultz ] Signed-off-by: Thomas Gleixner Signed-off-by: John Stultz --- Reading git-diff-tree failed