From: H. Peter Anvin Date: Mon, 20 Feb 2012 01:38:00 +0000 (-0800) Subject: compat: Add helper functions to read/write struct timeval, timespec X-Git-Tag: v3.4-rc1~33^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6684ba202b5ab2f36d574c72fe50c207d99b3e35;p=pandora-kernel.git compat: Add helper functions to read/write struct timeval, timespec Add helper functions to read and write struct timeval and struct timespec from userspace. We already had helper functions for reading and writing struct compat_timespec; add a set of functions to do the same with struct timeval, and add a second suite of functions which can be sensitive to COMPAT_USE_64BIT_TIME and access either 32- or 64-bit time structures. This also exports these helper functions to modules. Rename the existing inlines for converting between struct compat_timeval and native struct timespec so we can have a saner naming convention for the exported functions. Suggested-by: Linus Torvalds Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed