x86/entry: Simplify _TIF_SYSCALL_EMU handling
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 11 Jun 2019 14:56:27 +0000 (15:56 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Jun 2019 09:14:06 +0000 (10:14 +0100)
commitb07d7d5c7b421462dc91f0b775e31aae49804050
tree48cc1fa49ae1a48b0ec66e1c236878ff74726bdb
parent7b71665603bba0fa53e2cd63de9125a0bc3f6e17
x86/entry: Simplify _TIF_SYSCALL_EMU handling

The usage of emulated and _TIF_SYSCALL_EMU flags in syscall_trace_enter
is more complicated than required.

Cc: Andy Lutomirski <luto@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/x86/entry/common.c