summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-01-13 13:37:04 +0100
committerAlexander Gordeev <agordeev@linux.ibm.com>2025-01-26 17:24:06 +0100
commitdc7ff4b8cb782901c0c6809c708502293165a780 (patch)
tree92b722da93c2f0f1dc745688493397d5feef3d34 /scripts/gdb/linux/utils.py
parent67e959af254fe842c7b2ba4396c931985b289ef9 (diff)
s390/uaccess: Replace EX_TABLE_UA_LOAD_MEM exception handling
Remove EX_TABLE_UA_LOAD_MEM exception handling and replace it with EX_TABLE_UA_FAULT. Open code the return code check, and also open code setting of the destination to zero in case of an error. In almost all cases the compiler is able to optimize the open coded checks away, since all users of get_users() must check the return code, and are not supposed to use the result in case of an error. In addition this allows to change the get_user() inline assembly so that the "Q" constraint can be used for the destination, instead of only an "a" constraint. This generates slightly better code. Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions