SKAS4 - Fix x86_64 arch_copy_thread
RFC PATCH 1/11 SKAS4 - Fix x86_64 arch_copy_thread
Fix a bug which will be important later. x86_64 copy_thread needs to copy %fs from parent to child.
include/asm-um/processor-x86_64.h +1 -0
@@ -37,6 +37,7 @@ static inline void arch_flush_thread(struct arch_thread *thread)static inline void arch_copy_thread (struct arch_thread *from,struct arch_thread *to) { + to->fs = from->fs; }#include "asm/arch/user.h"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel