summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inv.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2021-02-10 05:33:35 +0300
committerBorislav Petkov <bp@suse.de>2021-02-10 16:10:07 +0300
commitec352711ceba890ea3a0c182c2d49c86c1a5e30e (patch)
treeddf3d589664e880bf3ebc81d6b91f82d65997caf /lib/mpi/mpi-inv.c
parentd24df8ecf9b6f81029f520ae7158a8670a28d70b (diff)
downloadlinux-ec352711ceba890ea3a0c182c2d49c86c1a5e30e.tar.xz
x86/fault: Fold mm_fault_error() into do_user_addr_fault()
mm_fault_error() is logically just the end of do_user_addr_fault(). Combine the functions. This makes the code easier to read. Most of the churn here is from renaming hw_error_code to error_code in do_user_addr_fault(). This makes no difference at all to the generated code (objdump -dr) as compared to changing noinline to __always_inline in the definition of mm_fault_error(). Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/dedc4d9c9b047e51ce38b991bd23971a28af4e7b.1612924255.git.luto@kernel.org
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions