]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0452cbe110923ac486fa00916439af32d5a72827
tree49d6ed8cc7f5f6626399ef7c9d796b934a433111
parentea8e350ddc34df1b3155cd24f8047517a470520d
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