diff options
| author | Sean Christopherson <[email protected]> | 2021-11-11 02:07:36 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-11-17 13:49:11 +0000 |
| commit | be399d824b432a85f8df86b566d2e5994fdf58b0 (patch) | |
| tree | 1a713857bd480daa2a99f0a5a32ad1ce7e67ecdf /lib/string_helpers.c | |
| parent | KVM: arm64: Convert to the generic perf callbacks (diff) | |
| download | kernel-be399d824b432a85f8df86b566d2e5994fdf58b0.tar.gz kernel-be399d824b432a85f8df86b566d2e5994fdf58b0.zip | |
KVM: arm64: Hide kvm_arm_pmu_available behind CONFIG_HW_PERF_EVENTS=y
Move the definition of kvm_arm_pmu_available to pmu-emul.c and, out of
"necessity", hide it behind CONFIG_HW_PERF_EVENTS. Provide a stub for
the key's wrapper, kvm_arm_support_pmu_v3(). Moving the key's definition
out of perf.c will allow a future commit to delete perf.c entirely.
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
