summaryrefslogtreecommitdiffstats
path: root/include/linux/entry-common.h
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.com>2020-11-16 12:41:59 -0500
committerThomas Gleixner <tglx@linutronix.de>2020-11-16 21:53:15 +0100
commitb86678cf0f1d76062aa964c5f0c6c89fe5a6dcfd (patch)
tree133d9a75a84153a50733fbef55517eb84ea53210 /include/linux/entry-common.h
parent3136b93c3fb2b7c19e853e049203ff8f2b9dd2cd (diff)
downloadlinux-b86678cf0f1d76062aa964c5f0c6c89fe5a6dcfd.tar.gz
linux-b86678cf0f1d76062aa964c5f0c6c89fe5a6dcfd.tar.bz2
linux-b86678cf0f1d76062aa964c5f0c6c89fe5a6dcfd.zip
entry: Wire up syscall_work in common entry code
Prepare the common entry code to use the SYSCALL_WORK flags. They will be defined in subsequent patches for each type of syscall work. SYSCALL_WORK_ENTRY/EXIT are defined for the transition, as they will replace the TIF_ equivalent defines. 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-4-krisman@collabora.com
Diffstat (limited to 'include/linux/entry-common.h')
-rw-r--r--include/linux/entry-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index aab549026ab8..3fe8f868f15e 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -64,6 +64,9 @@
(_TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT | \
_TIF_SYSCALL_TRACEPOINT | ARCH_SYSCALL_EXIT_WORK)
+#define SYSCALL_WORK_ENTER (0)
+#define SYSCALL_WORK_EXIT (0)
+
/*
* TIF flags handled in exit_to_user_mode_loop()
*/