summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2021-02-01 18:47:16 +0100
committerThomas Gleixner <tglx@linutronix.de>2021-03-16 22:13:11 +0100
commitb2e9df850c58c2b36e915e7d3bed3f6107cccba6 (patch)
tree8df5c5d143a03e0c6e6645c725ea85dcf44e678f /include/linux
parent8c150ba2fb5995c84a7a43848250d444a3329a7d (diff)
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
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/restart_block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h
index bba2920e9c05..980a65594412 100644
--- a/include/linux/restart_block.h
+++ b/include/linux/restart_block.h
@@ -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 */