diff options
author | Andy Lutomirski <luto@kernel.org> | 2021-02-09 18:33:35 -0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-02-10 14:10:07 +0100 |
commit | ec352711ceba890ea3a0c182c2d49c86c1a5e30e (patch) | |
tree | ddf3d589664e880bf3ebc81d6b91f82d65997caf /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d24df8ecf9b6f81029f520ae7158a8670a28d70b (diff) |
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 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions