mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
57ac889850
commit
83f5d12669
3 changed files with 32 additions and 4 deletions
|
@ -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, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue