aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/compat.c')
-rw-r--r--kernel/compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/compat.c b/kernel/compat.c
index 75573e5d27b0..b4fbd838cd77 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -26,6 +26,8 @@
26 26
27#include <asm/uaccess.h> 27#include <asm/uaccess.h>
28 28
29extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat);
30
29int get_compat_timespec(struct timespec *ts, const struct compat_timespec __user *cts) 31int get_compat_timespec(struct timespec *ts, const struct compat_timespec __user *cts)
30{ 32{
31 return (!access_ok(VERIFY_READ, cts, sizeof(*cts)) || 33 return (!access_ok(VERIFY_READ, cts, sizeof(*cts)) ||