x86/fault: Split the OOPS code out from no_context()
authorAndy Lutomirski <luto@kernel.org>
Wed, 10 Feb 2021 02:33:41 +0000 (18:33 -0800)
committerBorislav Petkov <bp@suse.de>
Wed, 10 Feb 2021 13:33:36 +0000 (14:33 +0100)
commit2cc624b0a7e68ba8957b18600181f7d5b0f3e1b6
tree76f61218ba54e3de877e5cab1f4e18a435331a7b
parent03c81ea3331658f613bb2913d33764a4e0410cbd
x86/fault: Split the OOPS code out from no_context()

Not all callers of no_context() want to run exception fixups.
Separate the OOPS code out from the fixup code in no_context().

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/450f8d8eabafb83a5df349108c8e5ea83a2f939d.1612924255.git.luto@kernel.org
arch/x86/mm/fault.c