diff options
author | 2016-06-13 10:17:20 +0200 | |
---|---|---|
committer | 2016-06-13 15:58:25 +0200 | |
commit | ee64baf4ea3b7affb7e325bb3d188515ec4bb66e (patch) | |
tree | e99c82a4efe621de6d6683fc5af366aef5d807ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/uaccess: fix whitespace damage (diff) | |
download | wireguard-linux-ee64baf4ea3b7affb7e325bb3d188515ec4bb66e.tar.xz wireguard-linux-ee64baf4ea3b7affb7e325bb3d188515ec4bb66e.zip |
s390/uaccess: use __builtin_expect for get_user/put_user
We always expect that get_user and put_user return with zero. Give the
compiler a hint so it can slightly optimize the code and avoid
branches.
This is the same what x86 got with commit a76cf66e948a ("x86/uaccess:
Tell the compiler that uaccess is unlikely to fault").
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions