mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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
This commit is contained in:
committed by
Thomas Gleixner
parent
8c150ba2fb
commit
b2e9df850c
@@ -23,6 +23,7 @@ enum timespec_type {
|
||||
* System call restart block.
|
||||
*/
|
||||
struct restart_block {
|
||||
unsigned long arch_data;
|
||||
long (*fn)(struct restart_block *);
|
||||
union {
|
||||
/* For futex_wait and futex_wait_requeue_pi */
|
||||
|
||||
Reference in New Issue
Block a user