projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: Convert some slow-path static_cpu_has() callers to boot_cpu_has()
[linux-2.6-microblaze.git]
/
arch
/
x86
/
kernel
/
paravirt.c
diff --git
a/arch/x86/kernel/paravirt.c
b/arch/x86/kernel/paravirt.c
index
c0e0101
..
7bbaa6b
100644
(file)
--- a/
arch/x86/kernel/paravirt.c
+++ b/
arch/x86/kernel/paravirt.c
@@
-121,7
+121,7
@@
DEFINE_STATIC_KEY_TRUE(virt_spin_lock_key);
void __init native_pv_lock_init(void)
{
- if (!
static
_cpu_has(X86_FEATURE_HYPERVISOR))
+ if (!
boot
_cpu_has(X86_FEATURE_HYPERVISOR))
static_branch_disable(&virt_spin_lock_key);
}