aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2013-04-22 17:42:50 +1000
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-22 08:47:33 -0500
commit0aa09897571c55292703b7a099d7ea79baa09950 (patch)
treecb933cdbaefc2d1b40529cd81eba4b5f04a51623 /translate-all.c
parentf1ab7a5acf08dcc11638b22660ed87d5f6d633c2 (diff)
translate-all: fix compiler warning and linked error
The code did use profile_getclock() but did not include include/qemu/timer.h where this function is defined. The patch fixes this. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Message-id: 1366616571-4321-1-git-send-email-aik@ozlabs.ru Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate-all.c b/translate-all.c
index 08dd038816..d04a1162cd 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -58,6 +58,7 @@
#include "exec/cputlb.h"
#include "translate-all.h"
+#include "qemu/timer.h"
//#define DEBUG_TB_INVALIDATE
//#define DEBUG_FLUSH