aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 70a157a130bb..636502c02734 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -225,6 +225,11 @@ static inline int compat_timespec_compare(struct compat_timespec *lhs,
225 return lhs->tv_nsec - rhs->tv_nsec; 225 return lhs->tv_nsec - rhs->tv_nsec;
226} 226}
227 227
228extern int get_compat_itimerspec(struct itimerspec *dst,
229 const struct compat_itimerspec __user *src);
230extern int put_compat_itimerspec(struct compat_itimerspec __user *dst,
231 const struct itimerspec *src);
232
228asmlinkage long compat_sys_adjtimex(struct compat_timex __user *utp); 233asmlinkage long compat_sys_adjtimex(struct compat_timex __user *utp);
229 234
230extern int compat_printk(const char *fmt, ...); 235extern int compat_printk(const char *fmt, ...);