compile fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 26 May 2004 23:29:15 +0000 (23:29 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 26 May 2004 23:29:15 +0000 (23:29 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@867 c046a42c-6fe2-441c-8c8c-71466251a162

vl.h

diff --git a/vl.h b/vl.h
index d658aa8..05b0a1f 100644 (file)
--- 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[];