x86/entry: Use generic syscall entry function
authorThomas Gleixner <tglx@linutronix.de>
Wed, 22 Jul 2020 22:00:04 +0000 (00:00 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Jul 2020 13:04:59 +0000 (15:04 +0200)
commit27d6b4d14f5c3ab21c4aef87dd04055a2d7adf14
treeff1aaa49f6efd1be5955afd50c0e22423352b6d9
parent0bf019ea59e330770883ede4499d7f711d8c3adf
x86/entry: Use generic syscall entry function

Replace the syscall entry work handling with the generic version. Provide
the necessary helper inlines to handle the real architecture specific
parts, e.g. ptrace.

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20200722220520.376213694@linutronix.de
arch/x86/Kconfig
arch/x86/entry/common.c
arch/x86/include/asm/entry-common.h [new file with mode: 0644]
arch/x86/include/asm/idtentry.h
arch/x86/include/asm/thread_info.h