From: John Stultz Date: Tue, 1 Feb 2011 13:52:17 +0000 (+0000) Subject: time: Introduce timekeeping_inject_offset X-Git-Tag: v2.6.39-rc1~508^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c528f7c6c208f1fae6b4025957173dec045e5f21;p=pandora-kernel.git time: Introduce timekeeping_inject_offset This adds a kernel-internal timekeeping interface to add or subtract a fixed amount from CLOCK_REALTIME. This makes it so kernel users or interfaces trying to do so do not have to read the time, then add an offset and then call settimeofday(), which adds some extra error in comparision to just simply adding the offset in the kernel timekeeping core. Signed-off-by: John Stultz Signed-off-by: Richard Cochran LKML-Reference: <20110201134419.584311693@linutronix.de> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed