aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2019-07-18 01:36:42 +0000
committerThomas Gleixner <[email protected]>2019-07-18 19:01:05 +0000
commit3a6ab4bcc52263dd5b1d2fd2e4ce95a38c798b4d (patch)
treea7732d2432182026cf2ac8f7a7f4c789a4673188 /tools/perf/scripts/python/mem-phys-addr.py
parentx86/head/64: Annotate start_cpu0() as non-callable (diff)
downloadkernel-3a6ab4bcc52263dd5b1d2fd2e4ce95a38c798b4d.tar.gz
kernel-3a6ab4bcc52263dd5b1d2fd2e4ce95a38c798b4d.zip
x86/uaccess: Remove ELF function annotation from copy_user_handle_tail()
After an objtool improvement, it's complaining about the CLAC in copy_user_handle_tail(): arch/x86/lib/copy_user_64.o: warning: objtool: .altinstr_replacement+0x12: redundant UACCESS disable arch/x86/lib/copy_user_64.o: warning: objtool: copy_user_handle_tail()+0x6: (alt) arch/x86/lib/copy_user_64.o: warning: objtool: copy_user_handle_tail()+0x2: (alt) arch/x86/lib/copy_user_64.o: warning: objtool: copy_user_handle_tail()+0x0: <=== (func) copy_user_handle_tail() is incorrectly marked as a callable function, so objtool is rightfully concerned about the CLAC with no corresponding STAC. Remove the ELF function annotation. The copy_user_handle_tail() code path is already verified by objtool because it's jumped to by other callable asm code (which does the corresponding STAC). Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/6b6e436774678b4b9873811ff023bd29935bee5b.1563413318.git.jpoimboe@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions