diff options
author | 2020-08-18 12:28:31 +0200 | |
---|---|---|
committer | 2020-08-24 18:18:32 +0200 | |
commit | 5f1dd4dda5c8796c405e856aaa11e187f6885924 (patch) | |
tree | c926f850d07a282d7e86cc78cfda37ed26694e98 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | x86/entry/64: Correct the comment over SAVE_AND_SET_GSBASE (diff) | |
download | wireguard-linux-5f1dd4dda5c8796c405e856aaa11e187f6885924.tar.xz wireguard-linux-5f1dd4dda5c8796c405e856aaa11e187f6885924.zip |
x86/fsgsbase: Replace static_cpu_has() with boot_cpu_has()
ptrace and prctl() are not really fast paths to warrant the use of
static_cpu_has() and cause alternatives patching for no good reason.
Replace with boot_cpu_has() which is simple and fast enough.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200818103715.32736-1-bp@alien8.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions