From: Kees Cook Date: Mon, 19 Nov 2012 18:26:16 +0000 (-0800) Subject: time: create __getnstimeofday for WARNless calls X-Git-Tag: v3.9-rc1~170^2~5^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e817fb62cd185a2232ad4302579491805609489;p=pandora-kernel.git time: create __getnstimeofday for WARNless calls The pstore RAM backend can get called during resume, and must be defensive against a suspended time source. Expose getnstimeofday logic that returns an error instead of a WARN. This can be detected and the timestamp can be zeroed out. Reported-by: Doug Anderson Cc: John Stultz Cc: Anton Vorontsov Signed-off-by: Kees Cook Signed-off-by: John Stultz --- Reading git-diff-tree failed