translate-all: fix compiler warning and linked error
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 22 Apr 2013 07:42:50 +0000 (17:42 +1000)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 22 Apr 2013 13:47:33 +0000 (08:47 -0500)
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>
translate-all.c

index 08dd038..d04a116 100644 (file)
@@ -58,6 +58,7 @@
 
 #include "exec/cputlb.h"
 #include "translate-all.h"
+#include "qemu/timer.h"
 
 //#define DEBUG_TB_INVALIDATE
 //#define DEBUG_FLUSH