patch-2.3.99-pre6 linux/include/asm-mips64/elf.h

Next file: linux/include/asm-ppc/atomic.h
Previous file: linux/include/asm-mips/elf.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-mips64/elf.h linux/include/asm-mips64/elf.h
@@ -91,9 +91,9 @@
 	else						\
 		current->thread.mflags &= ~MF_32BIT;	\
 	if (ibcs2)					\
-		current->personality = PER_SVR4;	\
+		set_personality(PER_SVR4);		\
 	else if (current->personality != PER_LINUX32)	\
-		current->personality = PER_LINUX;	\
+		set_personality(PER_LINUX);		\
 } while (0)
 #endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)