aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/i387.h
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2010-09-03 21:17:13 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2010-09-09 14:16:58 -0700
commit10c11f304986a1f84201c2261a428701f9d2dffc (patch)
tree619bed49fcd50d6eec3034436ae77b5c3c46f7cb /arch/x86/include/asm/i387.h
parenta4d4fbc7735bba6654b20f859135f9d3f8fe7f76 (diff)
downloadkernel_samsung_crespo-10c11f304986a1f84201c2261a428701f9d2dffc.zip
kernel_samsung_crespo-10c11f304986a1f84201c2261a428701f9d2dffc.tar.gz
kernel_samsung_crespo-10c11f304986a1f84201c2261a428701f9d2dffc.tar.bz2
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>
Diffstat (limited to 'arch/x86/include/asm/i387.h')
0 files changed, 0 insertions, 0 deletions