Brian Gerst 10c11f3049 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 <brgerst@gmail.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <1283563039-3466-7-git-send-email-brgerst@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-09-09 14:16:58 -07:00
..
2010-09-09 14:16:20 -07:00
2010-07-19 10:56:54 +02:00
2010-02-07 17:47:51 +01:00
2010-06-16 18:05:05 +02:00
2010-07-21 21:23:51 -07:00
2010-07-21 21:43:06 +02:00
2010-07-30 18:02:21 -07:00
2009-12-09 16:28:59 -08:00
2010-03-26 11:33:57 +01:00
2010-03-12 15:52:32 -08:00
2010-02-16 18:21:32 +01:00
2010-09-09 14:16:20 -07:00
2010-07-21 21:23:40 -07:00