x86/entry: Use generic syscall exit functionality
authorThomas Gleixner <tglx@linutronix.de>
Wed, 22 Jul 2020 22:00:05 +0000 (00:00 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Jul 2020 13:04:59 +0000 (15:04 +0200)
commit167fd210ec0555d371a20435dac7c2c7052df7ed
tree49d6ed8cc7f5f6626399ef7c9d796b934a433111
parent27d6b4d14f5c3ab21c4aef87dd04055a2d7adf14
x86/entry: Use generic syscall exit functionality

Replace the x86 variant with the generic version. Provide the relevant
architecture specific helper functions and defines.

Use a temporary define for idtentry_exit_user which will be cleaned up
seperately.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20200722220520.494648601@linutronix.de
arch/x86/entry/common.c
arch/x86/entry/entry_32.S
arch/x86/entry/entry_64.S
arch/x86/include/asm/entry-common.h
arch/x86/include/asm/idtentry.h
arch/x86/include/asm/signal.h
arch/x86/kernel/signal.c