diff options
author | Zachary Amsden <zach@vmware.com> | 2005-09-03 15:56:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 00:06:11 -0700 |
commit | e7a2ff593c0e48b130434dee4d2fd3452a850e6f (patch) | |
tree | 89bca4c0a0818d1e217c76866f62c1b133a425d7 /include/asm-i386/termbits.h | |
parent | 2f2984eb4afb2a4298e3186cb49cc7e88dd6d929 (diff) |
[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 <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/termbits.h')
0 files changed, 0 insertions, 0 deletions