diff options
| author | Christophe Leroy <[email protected]> | 2021-03-10 17:46:54 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-04-03 21:22:16 +1100 |
| commit | 5cd29b1fd3e8f2b45fe6d011588d832417defe31 (patch) | |
| tree | 2532d762449a30b92c776c424d10c6eb39e176d3 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 035785ab2826beb43cfa65a2df37d60074915a4d (diff) | |
powerpc/uaccess: Use asm goto for get_user when compiler supports it
clang 11 and future GCC are supporting asm goto with outputs.
Use it to implement get_user in order to get better generated code.
Note that clang requires to set x in the default branch of
__get_user_size_goto() otherwise is compliant about x not being
initialised :puzzled:
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/403745b5aaa1b315bb4e8e46c1ba949e77eecec0.1615398265.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions