提交 c8ff5daa 编写于 作者: A Alexander Graf

PPC: Fix compile with profiling enabled

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: NAlexander Graf <agraf@suse.de>
上级 20f649dd
......@@ -55,6 +55,7 @@
#else
#include "exec/address-spaces.h"
#endif
#include "qemu/timer.h"
#include "exec/cputlb.h"
#include "translate-all.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册