[tip: core/entry] x86: Expose syscall_work field in thread_info

tip-bot2 for Gabriel Krisman Bertazi
2020-11-16T21:12:00Z

The following commit has been merged into the core/entry branch of tip:

Commit-ID: b4581a52caff79eab1ea6caaaa4e08526ce2782b
Gitweb: https://git.kernel.org/tip/b4581a52caff79eab1ea6caaaa4e08526ce2782b
Author: Gabriel Krisman Bertazi <krisman@collabora.com>
AuthorDate: Mon, 16 Nov 2020 12:41:57 -05:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Mon, 16 Nov 2020 21:53:15 +01:00

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

---
arch/x86/include/asm/thread_info.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h
index 06a1710..0da5d58 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 */
};