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
-  Lines: 11
-  Date:
2003-06-13 07:51:38.000000000 -0700
-  Orig file: 
linux-2.4.20/include/asm-sparc64/elf.h
-  Orig date: 
2002-11-28 15:53:15.000000000 -0800
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)