diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2025-02-07 15:48:47 +0100 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-04 17:18:04 +0100 |
| commit | 679b110bb662fc107f38ebd5088af56a156dd82f (patch) | |
| tree | fd8d59f6cd135c292dfddb71c6adf6620b905c82 /tools/perf/scripts/python | |
| parent | s390/zfcp: Remove outdated email address (diff) | |
| download | linux-679b110bb662fc107f38ebd5088af56a156dd82f.tar.gz linux-679b110bb662fc107f38ebd5088af56a156dd82f.zip | |
s390/cpufeature: Convert MACHINE_HAS_SEQ_INSN to cpu_has_seq_insn()
Convert MACHINE_HAS_... to cpu_has_...() which uses test_facility() instead
of testing the machine_flags lowcore member if the feature is present.
test_facility() generates better code since it results in a static branch
without accessing memory. The branch is patched via alternatives by the
decompressor depending on the availability of the required facility.
Reviewed-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
