From: Zachary Amsden Date: Sat, 3 Sep 2005 22:56:39 +0000 (-0700) Subject: [PATCH] i386: load_tls() fix X-Git-Tag: v2.6.14-rc1~853 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7a2ff593c0e48b130434dee4d2fd3452a850e6f;p=pandora-kernel.git [PATCH] i386: load_tls() fix Subtle fix: load_TLS has been moved after saving %fs and %gs segments to avoid creating non-reversible segments. This could conceivably cause a bug if the kernel ever needed to save and restore fs/gs from the NMI handler. It currently does not, but this is the safest approach to avoiding fs/gs corruption. SMIs are safe, since SMI saves the descriptor hidden state. Signed-off-by: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed