aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-05-26 23:29:15 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-05-26 23:29:15 +0000
commit8cc43feffcbd0fbe37a4410836632c698f143241 (patch)
tree2aa87166d3d5d16ebe9781528bf987c9ccb3a52b /vl.h
parent09a79b4974fbeee660660d79ab45bd37ec416741 (diff)
downloadqemu-8cc43feffcbd0fbe37a4410836632c698f143241.zip
qemu-8cc43feffcbd0fbe37a4410836632c698f143241.tar.gz
qemu-8cc43feffcbd0fbe37a4410836632c698f143241.tar.bz2
compile fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@867 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vl.h b/vl.h
index d658aa8..05b0a1f 100644
--- a/vl.h
+++ b/vl.h
@@ -593,7 +593,9 @@ void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device,
DisplayState *ds, const char **fd_filename, int snapshot,
const char *kernel_filename, const char *kernel_cmdline,
const char *initrd_filename);
-ppc_tb_t *cpu_ppc_tb_init (CPUPPCState *env, uint32_t freq);
+#ifdef TARGET_PPC
+ppc_tb_t *cpu_ppc_tb_init (CPUState *env, uint32_t freq);
+#endif
void PREP_debug_write (void *opaque, uint32_t addr, uint32_t val);
extern CPUWriteMemoryFunc *PPC_io_write[];