x86/ldt: Further fix FPU emulation
authorAndy Lutomirski <luto@kernel.org>
Fri, 14 Aug 2015 22:02:55 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 16 Aug 2015 22:11:05 +0000 (15:11 -0700)
commit12e244f4b550498bbaf654a52f93633f7dde2dc7
treeefea08716a5a23ee317608ecc3efacf8bfb073bb
parent4809146b86c3d41ce588fdb767d021e2a80600dd
x86/ldt: Further fix FPU emulation

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

Compile-tested only.

Cc: stable@vger.kernel.org
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>
arch/x86/math-emu/get_address.c