]> 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)
commit87ef04cff7b969b6cf6a9b2ae3e4f5ebe7eccbdc
tree182035a269657fff26113789b3df6e7c63b4561a
parent5a007323322808a951645dffffcf2d634d680000
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