patch-2.1.38 linux/fs/binfmt_elf.c

Next file: linux/fs/buffer.c
Previous file: linux/fs/autofs/waitq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.37/linux/fs/binfmt_elf.c linux/fs/binfmt_elf.c
@@ -580,6 +580,9 @@
 	/* Do this so that we can load the interpreter, if need be.  We will
 	   change some of these later */
 	current->mm->rss = 0;
+#ifdef __sparc_v9__
+	current->tss.flags &= ~(SPARC_FLAG_32BIT);
+#endif
 	bprm->p = setup_arg_pages(bprm->p, bprm);
 	current->mm->start_stack = bprm->p;
 

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