diff options
| author | 2025-02-07 15:48:54 +0100 | |
|---|---|---|
| committer | 2025-03-04 17:18:05 +0100 | |
| commit | 3f5eede6dfdd2cf9f4c0156ccee20bd0e5d927aa (patch) | |
| tree | 276d04deb2cccb6970d24eda5ffd95525fa9ee72 /scripts/Makefile.thinlto | |
| parent | s390/cpufeature: Convert MACHINE_HAS_EDAT1 to cpu_has_edat1() (diff) | |
s390/cpufeature: Convert MACHINE_HAS_EDAT2 to cpu_has_edat2()
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
