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>
This commit is contained in:
Alexey Kardashevskiy 2013-04-22 17:42:50 +10:00 committed by Anthony Liguori
parent f1ab7a5acf
commit 0aa0989757

View File

@ -58,6 +58,7 @@
#include "exec/cputlb.h" #include "exec/cputlb.h"
#include "translate-all.h" #include "translate-all.h"
#include "qemu/timer.h"
//#define DEBUG_TB_INVALIDATE //#define DEBUG_TB_INVALIDATE
//#define DEBUG_FLUSH //#define DEBUG_FLUSH