]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0922564a6ddacc82a7525695f62eb406b14ffbc7
tree182035a269657fff26113789b3df6e7c63b4561a
parent42088813a772d4f7145b4764c484b79b353cb1e8
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