* [SPAM] [uml-devel] [RFC PATCH 1/10] SKAS4 - Fix x86_64 arch_copy_thread
@ 2008-01-23 17:12 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2008-01-23 17:12 UTC (permalink / raw)
To: UML-user, uml-devel
Fix a bug which will be important later. x86_64 copy_thread needs to
copy %fs from parent to child.
diff --git a/include/asm-um/processor-x86_64.h b/include/asm-um/processor-x86_64.h
index d946bf2..0528d9e 100644
--- a/include/asm-um/processor-x86_64.h
+++ b/include/asm-um/processor-x86_64.h
@@ -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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-23 17:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 17:12 [SPAM] [uml-devel] [RFC PATCH 1/10] SKAS4 - Fix x86_64 arch_copy_thread Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.