From: Thomas Gleixner Date: Wed, 11 Jun 2014 23:59:19 +0000 (+0000) Subject: tomoyo: Use sensible time interface X-Git-Tag: omap-for-v3.17/fixes-against-rc2~152^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77f4fa089c724adc3a87c10eb031bca91b144ac0;p=pandora-kernel.git tomoyo: Use sensible time interface There is no point in calling gettimeofday if only the seconds part of the timespec is used. Use get_seconds() instead. It's not only the proper interface it's also faster. Signed-off-by: Thomas Gleixner Acked-by: Tetsuo Handa Cc: John Stultz Cc: Peter Zijlstra Cc: Kentaro Takeda Cc: linux-security-module@vger.kernel.org Link: http://lkml.kernel.org/r/20140611234607.775273584@linutronix.de --- Reading git-diff-tree failed