From: bellard Date: Wed, 26 May 2004 23:29:15 +0000 (+0000) Subject: compile fix X-Git-Tag: qemu-xen-4.3.0-rc1~15404 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8cc43feffcbd0fbe37a4410836632c698f143241;p=qemu-upstream-4.6-testing.git compile fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@867 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/vl.h b/vl.h index d658aa897..05b0a1f4d 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[];