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 21:04:59 +1000
commit2833c28aa0d0326780acfa61149a2a02dcb2c9b4 (patch)
treed72d4efadf63dea4bdcbc100e8bfad9192f415a7 /fs
parent30aacebed0f0619f23ce84df7c59ad033ca08d77 (diff)
downloadop-kernel-dev-2833c28aa0d0326780acfa61149a2a02dcb2c9b4.zip
op-kernel-dev-2833c28aa0d0326780acfa61149a2a02dcb2c9b4.tar.gz
[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 9948cc1..0f282fa 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)
{
OpenPOWER on IntegriCloud