* [Qemu-devel] [PATCH] PPC: Fix compile with profiling enabled
@ 2013-04-19 0:48 Alexander Graf
0 siblings, 0 replies; only message in thread
From: Alexander Graf @ 2013-04-19 0:48 UTC (permalink / raw)
To: qemu-ppc; +Cc: qemu-devel
When using profiling, we rely on profile_getclock() being available
at our disposal. Somehow that function got moved from an indirect
include we used to have in translate-init.c, so that we were now
left not properly compiling anymore.
Add an explicit include to timer.h which defines profile_getclock,
so that we can compile again.
Signed-off-by: Alexander Graf <agraf@suse.de>
---
translate-all.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/translate-all.c b/translate-all.c
index 08dd038..a18bf55 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -55,6 +55,7 @@
#else
#include "exec/address-spaces.h"
#endif
+#include "qemu/timer.h"
#include "exec/cputlb.h"
#include "translate-all.h"
--
1.6.0.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-19 0:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-19 0:48 [Qemu-devel] [PATCH] PPC: Fix compile with profiling enabled Alexander Graf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).