projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: arm64: Hide kvm_arm_pmu_available behind CONFIG_HW_PERF_EVENTS=y
[linux-block.git]
/
arch
/
arm64
/
kernel
/
image-vars.h
diff --git
a/arch/arm64/kernel/image-vars.h
b/arch/arm64/kernel/image-vars.h
index c96a9a0043bf4a6d73d90f3d435f2c80b5bbce85..7eaf1f7c4168dbd394f4b01e1000e5e3703a3bad 100644
(file)
--- a/
arch/arm64/kernel/image-vars.h
+++ b/
arch/arm64/kernel/image-vars.h
@@
-102,7
+102,9
@@
KVM_NVHE_ALIAS(__stop___kvm_ex_table);
KVM_NVHE_ALIAS(kvm_arm_hyp_percpu_base);
/* PMU available static key */
+#ifdef CONFIG_HW_PERF_EVENTS
KVM_NVHE_ALIAS(kvm_arm_pmu_available);
+#endif
/* Position-independent library routines */
KVM_NVHE_ALIAS_HYP(clear_page, __pi_clear_page);