patch-2.1.97 linux/include/asm-sparc64/namei.h

Next file: linux/include/asm-sparc64/openprom.h
Previous file: linux/include/asm-sparc64/irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/include/asm-sparc64/namei.h linux/include/asm-sparc64/namei.h
@@ -1,4 +1,4 @@
-/* $Id: namei.h,v 1.10 1997/09/24 16:20:41 jj Exp $
+/* $Id: namei.h,v 1.12 1998/03/13 17:38:13 jj Exp $
  * linux/include/asm-sparc64/namei.h
  *
  * Routines to handle famous /usr/gnemul/s*.
@@ -10,7 +10,6 @@
 
 #define SPARC_BSD_EMUL "usr/gnemul/sunos/"
 #define SPARC_SOL_EMUL "usr/gnemul/solaris/"
-#define SPARC_LIN_EMUL "usr/gnemul/linux32/"
 
 static inline struct dentry *
 __sparc64_lookup_dentry(const char *name, int follow_link)
@@ -19,12 +18,13 @@
 	char *emul;
 
 	switch (current->personality) {
+#if 0
+/* Until we solve, why SunOS apps sometime crash, disable gnemul support for SunOS */
 	case PER_BSD:
 		emul = SPARC_BSD_EMUL; break;
+#endif		
 	case PER_SVR4:
 		emul = SPARC_SOL_EMUL; break;
-	case PER_LINUX32:
-		emul = SPARC_LIN_EMUL; break;
 	default:
 		return NULL;
 	}

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