summaryrefslogtreecommitdiff
path: root/fs/stat.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2006-04-27 15:46:42 +0200
committerPaul Mackerras <paulus@samba.org>2006-04-28 21:04:59 +1000
commit2833c28aa0d0326780acfa61149a2a02dcb2c9b4 (patch)
treed72d4efadf63dea4bdcbc100e8bfad9192f415a7 /fs/stat.c
parent30aacebed0f0619f23ce84df7c59ad033ca08d77 (diff)
downloadkernel-common-2833c28aa0d0326780acfa61149a2a02dcb2c9b4.tar.gz
kernel-common-2833c28aa0d0326780acfa61149a2a02dcb2c9b4.tar.bz2
kernel-common-2833c28aa0d0326780acfa61149a2a02dcb2c9b4.zip
[PATCH] powerpc: Wire up *at syscalls
Wire up *at syscalls. This patch has been tested on ppc64 (using glibc's testsuite, both 32bit and 64bit), and compile-tested for ppc32 (I have currently no ppc32 system available, but I expect no problems). Signed-off-by: Andreas Schwab <schwab@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs/stat.c')
-rw-r--r--fs/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/stat.c b/fs/stat.c
index 9948cc1685a4..0f282face322 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -261,7 +261,7 @@ asmlinkage long sys_newlstat(char __user *filename, struct stat __user *statbuf)
return error;
}
-#ifndef __ARCH_WANT_STAT64
+#if !defined(__ARCH_WANT_STAT64) || defined(__ARCH_WANT_SYS_NEWFSTATAT)
asmlinkage long sys_newfstatat(int dfd, char __user *filename,
struct stat __user *statbuf, int flag)
{