Commit cc9442b9fc4f86da341f9d4dcb0f04e8e013764d

Authored by bellard
1 parent 15338fd7

fixed warning


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1666 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
cpu-exec.c
... ... @@ -192,7 +192,7 @@ static inline TranslationBlock *tb_find_fast(void)
192 192 pc = env->nip;
193 193 #elif defined(TARGET_MIPS)
194 194 flags = env->hflags & MIPS_HFLAGS_TMASK;
195   - cs_base = NULL;
  195 + cs_base = 0;
196 196 pc = env->PC;
197 197 #else
198 198 #error unsupported CPU
... ... @@ -1056,7 +1056,7 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
1056 1056 }
1057 1057  
1058 1058 /* see if it is an MMU fault */
1059   - ret = cpu_ppc_handle_mmu_fault(env, address, is_write, msr_pr, 0);
  1059 + ret = cpu_mips_handle_mmu_fault(env, address, is_write, 1, 0);
1060 1060 if (ret < 0)
1061 1061 return 0; /* not an MMU fault */
1062 1062 if (ret == 0)
... ...