]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] disable old stat on ppc64
authorAnton Blanchard <anton@samba.org>
Fri, 22 Nov 2002 03:19:50 +0000 (19:19 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Fri, 22 Nov 2002 03:19:50 +0000 (19:19 -0800)
We don't implement the ancient stat syscalls on ppc64 since early libcs
wont run on ppc64 (they hardcode the incorrect cacheline size).

fs/stat.c

index 87e5e53e10a6871cb7c7917cffdda2b57d1e38e5..f8ec89a609d3a9329a88779e05164db46ad236aa 100644 (file)
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -96,7 +96,7 @@ int vfs_fstat(unsigned int fd, struct kstat *stat)
 
 #if !defined(__alpha__) && !defined(__sparc__) && !defined(__ia64__) \
   && !defined(CONFIG_ARCH_S390) && !defined(__hppa__) && !defined(__x86_64__) \
-  && !defined(__arm__) && !defined(CONFIG_V850)
+  && !defined(__arm__) && !defined(CONFIG_V850) && !defined(__powerpc64__)
 
 /*
  * For backward compatibility?  Maybe this should be moved