Borislav Petkov 36209766ce 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
2019-12-31 17:29:29 +01:00
..
2019-12-22 10:26:59 -08:00
2019-12-03 13:58:22 -08:00
2019-10-01 12:13:16 +02:00
2019-12-01 14:00:59 -08:00
2019-12-01 12:59:06 -08:00