diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-03-21 15:22:15 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-31 13:20:39 +0300 |
commit | 3232f1c8086506c5728f46e5a0d59b860c303b8d (patch) | |
tree | 4b6c4676d61af07a6ec7f19aabe92b3949d6b7a5 /net/lapb/lapb_iface.c | |
parent | b9be1bee2f271ed3c68e0bd3ec099951b656447b (diff) | |
download | linux-3232f1c8086506c5728f46e5a0d59b860c303b8d.tar.xz |
s390/processor: Use bitop functions for cpu flag helper functions
Use bitop functions to implement cpu flag helper functions. This way
it is guaranteed that bits cannot get lost if modified in different
contexts on a cpu.
E.g. if process context is interrupted in the middle of a
read-modify-write sequence while modifying cpu flags, and within
interrupt context cpu flags are also modified, bits can get lost.
There is currently no code which is doing this, however upcoming code
could potentially run into this problem.
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions