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)
commitb2e9df850c58c2b36e915e7d3bed3f6107cccba6
tree8df5c5d143a03e0c6e6645c725ea85dcf44e678f
parent8c150ba2fb5995c84a7a43848250d444a3329a7d
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