Skip to content
Commit 5f1dd4dd authored by Borislav Petkov's avatar Borislav Petkov
Browse files

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: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200818103715.32736-1-bp@alien8.de
parent 0b2c605f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment