diff options
author | Borislav Petkov <bp@suse.de> | 2019-12-31 17:15:35 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-12-31 17:29:29 +0100 |
commit | 36209766cede1fe9d39f3d3418d93bbf71ad21c4 (patch) | |
tree | 0438234fd552620e0be2e638509422021034a3ce /drivers/platform/x86/Kconfig | |
parent | 2f004eea0fc8f86b45dfc2007add2d4986de8d02 (diff) |
x86/traps: Cleanup do_general_protection()
Hoist the user_mode() case up because it is less code and can be dealt
with up-front like the other special cases UMIP and vm86.
This saves an indentation level for the kernel-mode #GP case and allows
to "unfold" the code more so that it is more readable.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Jann Horn <jannh@google.com>
Cc: x86@kernel.org
Diffstat (limited to 'drivers/platform/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions