]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Introduce restart_block->arch_data to remove TS_COMPAT_RESTART
authorOleg Nesterov <oleg@redhat.com>
Mon, 1 Feb 2021 17:47:16 +0000 (18:47 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 16 Mar 2021 21:13:11 +0000 (22:13 +0100)
commit6d2a3eb7f100de07b666c4fafc5e8badea7c7ba4
tree8df5c5d143a03e0c6e6645c725ea85dcf44e678f
parentbb20c5e74168da0faca12d3db06bf62b6005880d
x86: Introduce restart_block->arch_data to remove TS_COMPAT_RESTART

Save the current_thread_info()->status of X86 in the new
restart_block->arch_data field so TS_COMPAT_RESTART can be removed again.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210201174716.GA17898@redhat.com
arch/x86/include/asm/thread_info.h
arch/x86/kernel/signal.c
include/linux/restart_block.h