x86/ldt: Correct FPU emulation access to LDT
authorJuergen Gross <jgross@suse.com>
Thu, 6 Aug 2015 17:54:34 +0000 (19:54 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 8 Aug 2015 08:20:45 +0000 (10:20 +0200)
commit4809146b86c3d41ce588fdb767d021e2a80600dd
treecd7147cbf605eede40ff43384cff1653f6772af1
parent136d9d83c07c5e30ac49fc83b27e8c4842f108fc
x86/ldt: Correct FPU emulation access to LDT

Commit 37868fe113ff ("x86/ldt: Make modify_ldt synchronous")
introduced a new struct ldt_struct anchored at mm->context.ldt.

Adapt the x86 fpu emulation code to use that new structure.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Cc: <stable@vger.kernel.org> # On top of: 37868fe113ff: x86/ldt: Make modify_ldt synchronous
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: billm@melbpc.org.au
Link: http://lkml.kernel.org/r/1438883674-1240-1-git-send-email-jgross@suse.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/math-emu/fpu_entry.c
arch/x86/math-emu/fpu_system.h
arch/x86/math-emu/get_address.c