diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2025-02-07 17:48:48 +0300 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-04 19:18:04 +0300 |
| commit | 15a36036e792f4eec0fc59833dde688024e036fc (patch) | |
| tree | 2d931c0a9b94709cff4d11ff6b755d03c38c1f83 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 679b110bb662fc107f38ebd5088af56a156dd82f (diff) | |
| download | linux-15a36036e792f4eec0fc59833dde688024e036fc.tar.xz | |
s390/cpufeature: Convert MACHINE_HAS_RDP to cpu_has_rdp()
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
