x86/entry: Provide idtentry_enter/exit_user()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 May 2020 20:05:18 +0000 (22:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:05 +0000 (15:15 +0200)
commit9f9781b60dfa68d5094a41982f1efa75215a62b1
tree182035a269657fff26113789b3df6e7c63b4561a
parent3eeec385848855c8109eb72b8b309078d5507968
x86/entry: Provide idtentry_enter/exit_user()

As there are exceptions which already handle entry from user mode and from
kernel mode separately, providing explicit user entry/exit handling callbacks
makes sense and makes the code easier to understand.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20200521202117.289548561@linutronix.de
arch/x86/entry/common.c
arch/x86/include/asm/idtentry.h