entry: Move exit to usermode functions to header file
authorSven Schnelle <svens@linux.ibm.com>
Mon, 18 Dec 2023 07:45:18 +0000 (08:45 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Dec 2023 22:12:18 +0000 (23:12 +0100)
commitd68019471995ba47e56a9da355df13a1cdb5bf7e
tree070efeadda0c6b998e879762ebf77a773a480d0c
parent98b1cc82c4affc16f5598d4fa14b1858671b2263
entry: Move exit to usermode functions to header file

To allow inlining, move exit_to_user_mode() to
entry-common.h.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20231218074520.1998026-2-svens@linux.ibm.com
include/linux/entry-common.h
kernel/entry/common.c