diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-12-01 16:09:29 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-12-11 16:33:04 +0300 |
commit | f88d36845391f8df8faa9d28818bfbdd67af0d91 (patch) | |
tree | d0104a336cffb02730484eaa2f61fd71cc5f906d /scripts/gdb/linux/utils.py | |
parent | 207022d39d3b158ca3581e321212f799fa5e7e24 (diff) | |
download | linux-f88d36845391f8df8faa9d28818bfbdd67af0d91.tar.xz |
s390/ctlreg: return old register contents when changing bits
Change local_ctl_set_bit() and local_ctl_clear_bit() so they return the
previous value of the to be changed control register. This is useful if a
bit is only changed temporarily and the previous content needs to be
restored.
Reviewed-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