diff options
author | Borislav Petkov <bp@suse.de> | 2020-08-18 12:28:31 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-08-24 18:18:32 +0200 |
commit | 5f1dd4dda5c8796c405e856aaa11e187f6885924 (patch) | |
tree | c926f850d07a282d7e86cc78cfda37ed26694e98 /include/soc | |
parent | 0b2c605fa4ee3117c00b97b7af67791576b28f88 (diff) | |
download | linux-5f1dd4dda5c8796c405e856aaa11e187f6885924.tar.gz |
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 'include/soc')
0 files changed, 0 insertions, 0 deletions