[PATCH] x86_64: Save/restore CS in 64bit signal handlers and force __USER_CS for CS
authorBryan Ford <baford@mit.edu>
Sat, 5 Nov 2005 16:25:54 +0000 (17:25 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 03:55:15 +0000 (19:55 -0800)
commite4e5d324b9c5586f408a72d1534474c449dd5212
tree21a7a3758c07ae1bb5263e88946e1cc18835c2fe
parent420f8f68c9c5148dddf946bebdbc7eacde2172cb
[PATCH] x86_64: Save/restore CS in 64bit signal handlers and force __USER_CS for CS

This allows to run 64bit signal handlers in 64bit processes that run small
code snippets in compat mode.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/signal.c