|
@@ -280,6 +280,8 @@ SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, stat
|
|
|
|
|
|
#endif /* __ARCH_WANT_OLD_STAT */
|
|
|
|
|
|
+#ifdef __ARCH_WANT_NEW_STAT
|
|
|
+
|
|
|
#if BITS_PER_LONG == 32
|
|
|
# define choose_32_64(a,b) a
|
|
|
#else
|
|
@@ -378,6 +380,7 @@ SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf)
|
|
|
|
|
|
return error;
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
static int do_readlinkat(int dfd, const char __user *pathname,
|
|
|
char __user *buf, int bufsiz)
|