Commit 8cc43feffcbd0fbe37a4410836632c698f143241

Authored by bellard
1 parent 09a79b49

compile fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@867 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 1 deletions
@@ -593,7 +593,9 @@ void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device, @@ -593,7 +593,9 @@ void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device,
593 DisplayState *ds, const char **fd_filename, int snapshot, 593 DisplayState *ds, const char **fd_filename, int snapshot,
594 const char *kernel_filename, const char *kernel_cmdline, 594 const char *kernel_filename, const char *kernel_cmdline,
595 const char *initrd_filename); 595 const char *initrd_filename);
596 -ppc_tb_t *cpu_ppc_tb_init (CPUPPCState *env, uint32_t freq); 596 +#ifdef TARGET_PPC
  597 +ppc_tb_t *cpu_ppc_tb_init (CPUState *env, uint32_t freq);
  598 +#endif
597 void PREP_debug_write (void *opaque, uint32_t addr, uint32_t val); 599 void PREP_debug_write (void *opaque, uint32_t addr, uint32_t val);
598 600
599 extern CPUWriteMemoryFunc *PPC_io_write[]; 601 extern CPUWriteMemoryFunc *PPC_io_write[];