patch-2.4.21 linux-2.4.21/include/asm-sparc64/elf.h

Next file: linux-2.4.21/include/asm-sparc64/head.h
Previous file: linux-2.4.21/include/asm-sparc64/delay.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-sparc64/elf.h linux-2.4.21/include/asm-sparc64/elf.h
@@ -109,8 +109,9 @@
 	if (flags != current->thread.flags) {		\
 		/* flush_thread will update pgd cache */\
 		current->thread.flags |= SPARC_FLAG_ABI_PENDING; \
+	} else {					\
+		current->thread.flags &= ~SPARC_FLAG_ABI_PENDING; \
 	}						\
-							\
 	if (ibcs2)					\
 		set_personality(PER_SVR4);		\
 	else if (current->personality != PER_LINUX32)	\

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