From: Stephen Rothwell <[email protected]>

Caused by commit faa113b7c65c44ed94ac06f6bae2259290040856 ("KVM:
Protect irq tracing with KVM_HAVE_IOAPIC and KVM_HAVE_PIT").

Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h
index dff68b3..5e69489 100644
--- a/include/trace/events/kvm.h
+++ b/include/trace/events/kvm.h
@@ -3,11 +3,11 @@
 
 #include <linux/tracepoint.h>
 
-#if defined(__KVM_HAVE_IOAPIC) && defined(__KVM_HAVE_PIT)
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM kvm
 #define TRACE_INCLUDE_FILE kvm
 
+#if defined(__KVM_HAVE_IOAPIC) && defined(__KVM_HAVE_PIT)
 TRACE_EVENT(kvm_set_irq,
        TP_PROTO(unsigned int gsi),
        TP_ARGS(gsi),
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to