s390/processor: add test_and_set_cpu_flag() and test_and_clear_cpu_flag()
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 13 Feb 2023 11:35:18 +0000 (12:35 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 15 Feb 2023 10:07:01 +0000 (11:07 +0100)
commitf96f41aae2b5bd34d32f462c7b45c0f4fad2b59e
treedf5d5a0ad3e9718943b226116b8d4034068b08ed
parentb977f03ec44aef7f6728bfe1a48f3ee5b0776001
s390/processor: add test_and_set_cpu_flag() and test_and_clear_cpu_flag()

Add test_and_set_cpu_flag() and test_and_clear_cpu_flag() helper functions.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/processor.h