x86/asm/entry/32: Really make user_mode() work correctly for VM86 mode
authorJan Beulich <JBeulich@suse.com>
Thu, 28 May 2015 08:16:45 +0000 (09:16 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 29 May 2015 07:46:40 +0000 (09:46 +0200)
commit7ba554b5ac69e5f3edac9ce3233beb5acd480878
tree8d642b5f3c7ca4f25e8dcad5132404ff637ed417
parentde182468d1bb726198abaab315820542425270b7
x86/asm/entry/32: Really make user_mode() work correctly for VM86 mode

While commit efa7045103 ("x86/asm/entry: Make user_mode() work
correctly if regs came from VM86 mode") claims that "user_mode()
is now identical to user_mode_vm()", this wasn't actually the
case - no prior commit made it so.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/5566EB0D020000780007E655@mail.emea.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/ptrace.h