Subject: [PATCH linux-next] kvm/powerpc: fix kvm build tree failure

From: Stephen Rothwell <[email-masked]>
Date: Fri, 26 Jun 2009 15:23:47 +1000

Today's linux-next build (powerpc ppc44x_defconfig) failed like this:

In file included from include/trace/events/kvm.h:57,
                 from arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:63:
include/trace/define_trace.h:53:43: error: trace/events/TRACE_SYSTEM.h: No such file or directory

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

Signed-off-by: Stephen Rothwell <[email-masked]>
---
 include/trace/events/kvm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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),
-- 
1.6.3.1

-- 
Cheers,
Stephen Rothwell                    [email-masked]
http://www.canb.auug.org.au/~sfr/