diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 12:35:55 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 12:35:55 +0000 |
commit | 44f8625d23f9807c0853556ffe1c44540bd453f9 (patch) | |
tree | c07cceb8dcd889d2bf7f8b874d5a00ea40bc5403 /target-arm/op_helper.c | |
parent | mips_r4k warning fixes. (diff) | |
download | qemu-kvm-44f8625d23f9807c0853556ffe1c44540bd453f9.tar.gz qemu-kvm-44f8625d23f9807c0853556ffe1c44540bd453f9.tar.bz2 qemu-kvm-44f8625d23f9807c0853556ffe1c44540bd453f9.zip |
fixed invalid type
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3582 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/op_helper.c')
-rw-r--r-- | target-arm/op_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c index a9bd95b05..2b9ec0fa7 100644 --- a/target-arm/op_helper.c +++ b/target-arm/op_helper.c @@ -279,7 +279,7 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr) { TranslationBlock *tb; CPUState *saved_env; - target_phys_addr_t pc; + unsigned long pc; int ret; /* XXX: hack to restore env in all cases, even if not called from @@ -290,7 +290,7 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr) if (__builtin_expect(ret, 0)) { if (retaddr) { /* now we have a real cpu fault */ - pc = (target_phys_addr_t)retaddr; + pc = (unsigned long)retaddr; tb = tb_find_pc(pc); if (tb) { /* the PC is inside the translated code. It means that we have |