summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/thread_info.h
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.com>2020-11-16 18:41:57 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-11-16 21:53:15 +0100
commitb4581a52caff79eab1ea6caaaa4e08526ce2782b (patch)
tree0769ea79618081b7e2ab27b68795e0ba1bf1c28d /arch/x86/include/asm/thread_info.h
parentMerge branch 'x86/entry' into core/entry (diff)
downloadlinux-b4581a52caff79eab1ea6caaaa4e08526ce2782b.tar.xz
linux-b4581a52caff79eab1ea6caaaa4e08526ce2782b.zip
x86: Expose syscall_work field in thread_info
This field will be used by SYSCALL_WORK flags, migrated from TI flags. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Andy Lutomirski <luto@kernel.org> Link: https://lore.kernel.org/r/20201116174206.2639648-2-krisman@collabora.com
Diffstat (limited to 'arch/x86/include/asm/thread_info.h')
-rw-r--r--arch/x86/include/asm/thread_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h
index 06a171037558..0da5d58d7c79 100644
--- a/arch/x86/include/asm/thread_info.h
+++ b/arch/x86/include/asm/thread_info.h
@@ -55,6 +55,7 @@ struct task_struct;
struct thread_info {
unsigned long flags; /* low level flags */
+ unsigned long syscall_work; /* SYSCALL_WORK_ flags */
u32 status; /* thread synchronous flags */
};