Răsfoiți Sursa

Declare another couple of compat syscalls.

compat_sys_signalfd and compat_sys_timerfd need declarations before
PowerPC can wire them up.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Stephen Rothwell 18 ani în urmă
părinte
comite
140ff8b045
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 6 0
      include/linux/compat.h

+ 6 - 0
include/linux/compat.h

@@ -261,5 +261,11 @@ asmlinkage long compat_sys_epoll_pwait(int epfd,
 asmlinkage long compat_sys_utimensat(unsigned int dfd, char __user *filename,
 asmlinkage long compat_sys_utimensat(unsigned int dfd, char __user *filename,
 				struct compat_timespec __user *t, int flags);
 				struct compat_timespec __user *t, int flags);
 
 
+asmlinkage long compat_sys_signalfd(int ufd,
+				const compat_sigset_t __user *sigmask,
+                                compat_size_t sigsetsize);
+asmlinkage long compat_sys_timerfd(int ufd, int clockid, int flags,
+				const struct compat_itimerspec __user *utmr);
+
 #endif /* CONFIG_COMPAT */
 #endif /* CONFIG_COMPAT */
 #endif /* _LINUX_COMPAT_H */
 #endif /* _LINUX_COMPAT_H */