From: Brian Gerst Date: Sat, 4 Sep 2010 01:17:13 +0000 (-0400) Subject: x86-64, fpu: Fix %cs value in convert_from_fxsr() X-Git-Tag: v2.6.37-rc1~206^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10c11f304986a1f84201c2261a428701f9d2dffc;p=pandora-kernel.git x86-64, fpu: Fix %cs value in convert_from_fxsr() While %ds still contains the userspace selector, %cs is KERNEL_CS at this point. Always get %cs from pt_regs even for the current task. Signed-off-by: Brian Gerst Acked-by: Pekka Enberg Cc: Suresh Siddha LKML-Reference: <1283563039-3466-7-git-send-email-brgerst@gmail.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed