]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ia64: fix broken __emul_prefix
authorArun Sharma <arun.sharma@intel.com>
Thu, 23 Oct 2003 10:41:14 +0000 (03:41 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Thu, 23 Oct 2003 10:41:14 +0000 (03:41 -0700)
his seems to be broken for ia32 on ia64 and possibly other emulation
architectures as well. The problem comes from
fs/namei.c:set_fs_altroot() using path_lookup() instead of a
path_walk() relative to "/" (which is the case for 2.4).

include/asm-ia64/namei.h

index b35693c6a0c341e94d89ea61d329c3d9d1d67f12..a22af247726deb245ba1fde3d9cc5b82fc014be4 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/ptrace.h>
 #include <asm/system.h>
 
-#define EMUL_PREFIX_LINUX_IA32 "emul/ia32-linux/"
+#define EMUL_PREFIX_LINUX_IA32 "/emul/ia32-linux/"
 
 static inline char *
 __emul_prefix (void)