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: Alexander Graf <agraf@suse.de>
This commit is contained in:
Alexander Graf 2013-04-19 02:35:08 +02:00
parent 20f649dd22
commit c8ff5daa09

View file

@ -55,6 +55,7 @@
#else
#include "exec/address-spaces.h"
#endif
#include "qemu/timer.h"
#include "exec/cputlb.h"
#include "translate-all.h"