aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/pgtable.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2023-08-23 10:14:48 +0100
committerMarc Zyngier <maz@kernel.org>2023-08-23 20:01:03 +0100
commit9b80b9676be901eb980c48543a19d7026d2f84b8 (patch)
tree11426b5aabd78b2e24110435a20de615dab1f75b /scripts/gdb/linux/pgtable.py
parentb1f778a223a2a8ad6262e5233cfc3483bcf6e213 (diff)
KVM: arm64: pmu: Guard PMU emulation definitions with CONFIG_KVM
Most of the internal definitions for PMU emulation are guarded with CONFIG_HW_PERF_EVENTS. However, this isn't enough, and leads to these definitions leaking if CONFIG_KVM isn't enabled. This leads to some compilation breakage in this exact configuration. Fix it by falling back to the dummy stubs if either perf or KVM isn't selected. Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com> Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions