x86/ldt: Further fix FPU emulation
authorAndy Lutomirski <luto@kernel.org>
Fri, 14 Aug 2015 22:02:55 +0000 (15:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 17:05:25 +0000 (10:05 -0700)
commit7b638e8e6d2cca69e5756cf4eb66fc41a661a037
treeec565c202dbd9f0370c9904cc15ec1669055cb7e
parentb33c0beeedf3fd7e329b0a81add3a15920184019
x86/ldt: Further fix FPU emulation

commit 12e244f4b550498bbaf654a52f93633f7dde2dc7 upstream.

The previous fix confused a selector with a segment prefix.  Fix it.

Compile-tested only.

Cc: Juergen Gross <jgross@suse.com>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Fixes: 4809146b86c3 ("x86/ldt: Correct FPU emulation access to LDT")
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/math-emu/get_address.c