diff options
author | Davide Libenzi <davidel@xmailserver.org> | 2007-05-10 22:23:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-11 08:29:36 -0700 |
commit | 83f5d1266926c75890f1bc4678e49d79483cb573 (patch) | |
tree | ae97719503b7fe3688413655d89772bb8b644312 /include/linux/compat.h | |
parent | 57ac8898508638ca6d15ecd8b911a431d673ff30 (diff) | |
download | linux-3.10-83f5d1266926c75890f1bc4678e49d79483cb573.tar.gz linux-3.10-83f5d1266926c75890f1bc4678e49d79483cb573.tar.bz2 linux-3.10-83f5d1266926c75890f1bc4678e49d79483cb573.zip |
signal/timer/event: timerfd compat code
This patch implements the necessary compat code for the timerfd system call.
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r-- | include/linux/compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index 70a157a130b..636502c0273 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, return lhs->tv_nsec - rhs->tv_nsec; } +extern int get_compat_itimerspec(struct itimerspec *dst, + const struct compat_itimerspec __user *src); +extern int put_compat_itimerspec(struct compat_itimerspec __user *dst, + const struct itimerspec *src); + asmlinkage long compat_sys_adjtimex(struct compat_timex __user *utp); extern int compat_printk(const char *fmt, ...); |