summaryrefslogtreecommitdiffstats
path: root/fs
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 13:04:59 +0200
commit2833c28aa0d0326780acfa61149a2a02dcb2c9b4 (patch)
treed72d4efadf63dea4bdcbc100e8bfad9192f415a7 /fs
parent[PATCH] ppc32: add 440GX erratum 440_43 workaround (diff)
downloadlinux-2833c28aa0d0326780acfa61149a2a02dcb2c9b4.tar.xz
linux-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')
-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)
{