patch-2.1.17 linux/fs/stat.c

Next file: linux/fs/super.c
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/fs/stat.c linux/fs/stat.c
@@ -14,7 +14,7 @@
 
 #include <asm/uaccess.h>
 
-#ifndef __alpha__
+#if !defined(__alpha__) && !defined(__sparc__)
 
 /*
  * For backward compatibility?  Maybe this should be moved
@@ -102,7 +102,7 @@
 	copy_to_user(statbuf,&tmp,sizeof(tmp));
 }
 
-#ifndef __alpha__
+#if !defined(__alpha__) && !defined(__sparc__)
 /*
  * For backward compatibility?  Maybe this should be moved
  * into arch/i386 instead?
@@ -140,7 +140,7 @@
 	return 0;
 }
 
-#ifndef __alpha__
+#if !defined(__alpha__) && !defined(__sparc__)
 
 /*
  * For backward compatibility?  Maybe this should be moved
@@ -180,7 +180,7 @@
 	return 0;
 }
 
-#ifndef __alpha__
+#if !defined(__alpha__) && !defined(__sparc__)
 
 /*
  * For backward compatibility?  Maybe this should be moved

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov