diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-09-11 21:40:13 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-09-19 13:26:57 +0200 |
commit | 99441a38c391b1115e405d1f47ede237fca37f1b (patch) | |
tree | e670a800462f762c2b8525aac891811634918cce /arch/s390/kernel/perf_cpum_cf.c | |
parent | 9c66cc5609b13899ef7d143f51c59bdcfd63484d (diff) | |
download | linux-stable-99441a38c391b1115e405d1f47ede237fca37f1b.tar.gz linux-stable-99441a38c391b1115e405d1f47ede237fca37f1b.tar.bz2 linux-stable-99441a38c391b1115e405d1f47ede237fca37f1b.zip |
s390: use control register bit defines
Use control register bit defines instead of plain numbers where
possible.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/perf_cpum_cf.c')
-rw-r--r-- | arch/s390/kernel/perf_cpum_cf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/perf_cpum_cf.c b/arch/s390/kernel/perf_cpum_cf.c index 4e05c0cb1648..41ed6e0f0a2a 100644 --- a/arch/s390/kernel/perf_cpum_cf.c +++ b/arch/s390/kernel/perf_cpum_cf.c @@ -1193,7 +1193,7 @@ static int __init cpumf_pmu_init(void) * Clear bit 15 of cr0 to unauthorize problem-state to * extract measurement counters */ - system_ctl_clear_bit(0, 48); + system_ctl_clear_bit(0, CR0_CPUMF_EXTRACTION_AUTH_BIT); /* register handler for measurement-alert interruptions */ rc = register_external_irq(EXT_IRQ_MEASURE_ALERT, |