compat: move compat*at syscall prototypes into compat.h
PATCH 1/1 compat: move compat*at syscall prototypes into compat.h
For consistency with all the other compat syscalls.
Signed-off-by Stephen Rothwell <[email protected]>
---
include/linux/compat.h | 8 ++++++++ include/linux/syscalls.h | 9 --------- 2 files changed, 8 insertions(+), 9 deletions(-)
Signature · 5 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/ f3e3d29e9c87c8e15e5678925f21a708b4a7c961
include/linux/compat.h +8 -0
@@ -161,5 +161,13 @@ int copy_siginfo_to_user32(struct compatint get_compat_sigevent (struct sigevent *event,const struct compat_sigevent __user *u_event); +asmlinkage long compat_sys_futimesat (unsigned int dfd,char __user *filename, +struct compat_timeval __user *t); +asmlinkage long compat_sys_newfstatat (unsigned int dfd,char __user * filename, +struct compat_stat __user *statbuf, +int flag); +asmlinkage long compat_sys_openat (unsigned int dfd,const char __user *filename, +int flags,int mode); +#endif /* CONFIG_COMPAT */ #endif /* _LINUX_COMPAT_H */
include/linux/syscalls.h +0 -9
@@ -50,8 +50,6 @@ struct timezone;struct tms ;struct utimbuf ;struct mq_attr ; -struct compat_stat ; -struct compat_timeval ;#include <linux/config.h> #include <linux/types.h>
@@ -559,12 +557,5 @@ asmlinkage long sys_newfstatat(int dfd, struct stat __user *statbuf, int flag);asmlinkage long sys_readlinkat (int dfd,const char __user *path,char __user *buf,int bufsiz); -asmlinkage long compat_sys_futimesat (unsigned int dfd,char __user *filename, -struct compat_timeval __user *t); -asmlinkage long compat_sys_newfstatat (unsigned int dfd,char __user * filename, -struct compat_stat __user *statbuf, -int flag); -asmlinkage long compat_sys_openat (unsigned int dfd,const char __user *filename, -int flags,int mode);#endif
Signature · 1 line
1.1.5