Skip to content

Commit

Permalink
KVM: arm/arm64: Fix up includes for trace.h
Browse files Browse the repository at this point in the history
Fedora kernel builds on armv7hl began failing recently because
kvm_arm_exception_type and kvm_arm_exception_class were undeclared in
trace.h. Add the missing include.

Fixes: 0e20f5e ("KVM: arm/arm64: Cleanup MMIO handling")
Signed-off-by: Jeremy Cline <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
jeremycline authored and Marc Zyngier committed Feb 5, 2020
1 parent 4a267aa commit 51b2569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions virt/kvm/arm/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <kvm/arm_arch_timer.h>
#include <linux/tracepoint.h>
#include <asm/kvm_arm.h>

#undef TRACE_SYSTEM
#define TRACE_SYSTEM kvm
Expand Down

0 comments on commit 51b2569

Please sign in to comment.