diff options
| author | Borislav Petkov (AMD) <bp@alien8.de> | 2026-06-19 18:50:41 -0700 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-07-06 21:34:26 -0700 |
| commit | 3eaa50e1e255ec261c757b9eea811ef3bac10d1e (patch) | |
| tree | bf0083c895d6cfce97f943096f426ff600eda42a /tools/lib/python | |
| parent | 8cdeaa50eae8dad34885515f62559ee83e7e8dda (diff) | |
x86/cpu: Hide and rename static_cpu_has()
cpu_feature_enabled() is the one to use to test feature flags so hide
the static thing which doesn't pay attention to disabled mask bits
anyway.
Use the following command to do the replacement:
$ git grep --files-with-matches -w static_cpu_has -- ':(exclude)*cpufeature.h' \
| xargs sed -i 's/static_cpu_has(/cpu_feature_enabled\(/g'
There should be no functional changes resulting from this.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://patch.msgid.link/20260620015041.336288-1-bp@kernel.org
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
