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(-)
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/
f3e3d29e9c87c8e15e5678925f21a708b4a7c961
diff --git a/include/linux/compat.h b/include/linux/compat.h
index f9ca534..2d7e7f1 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -161,5 +161,13 @@ int copy_siginfo_to_user32(struct compat
int 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 */
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 3877209..24240b6 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -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
--
1.1.5
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]