entry: Expose helpers to migrate TIF to SYSCALL_WORK flags
authorGabriel Krisman Bertazi <krisman@collabora.com>
Mon, 16 Nov 2020 17:41:58 +0000 (12:41 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 16 Nov 2020 20:53:15 +0000 (21:53 +0100)
commit3136b93c3fb2b7c19e853e049203ff8f2b9dd2cd
tree78597ebbc070beb0ca151315343c914bdda89b04
parentb4581a52caff79eab1ea6caaaa4e08526ce2782b
entry: Expose helpers to migrate TIF to SYSCALL_WORK flags

With the goal to split the syscall work related flags into a separate
field that is architecture independent, expose transitional helpers that
resolve to either the TIF flags or to the corresponding SYSCALL_WORK
flags.  This will allow architectures to migrate only when they port to
the generic syscall entry code.

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-3-krisman@collabora.com
include/linux/thread_info.h