summaryrefslogtreecommitdiff
path: root/qemu/target-alpha/op_helper.c
diff options
context:
space:
mode:
authorbellard <bellard>2007-11-11 12:35:54 +0000
committerbellard <bellard>2007-11-11 12:35:54 +0000
commit6879294ba0a5bd25a47e35f29ce0e93b4a3da8d9 (patch)
treee3a237c4c1fcd899e234d4a8a8838d39d8bffb7e /qemu/target-alpha/op_helper.c
parent9c9a92b3a9ac388881edbbf38585dfd8562ea126 (diff)
fixed invalid type
Diffstat (limited to 'qemu/target-alpha/op_helper.c')
-rw-r--r--qemu/target-alpha/op_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu/target-alpha/op_helper.c b/qemu/target-alpha/op_helper.c
index fa1e6acc..9a3009c4 100644
--- a/qemu/target-alpha/op_helper.c
+++ b/qemu/target-alpha/op_helper.c
@@ -1152,7 +1152,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
@@ -1163,7 +1163,7 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr)
if (!likely(ret == 0)) {
if (likely(retaddr)) {
/* now we have a real cpu fault */
- pc = (target_phys_addr_t)retaddr;
+ pc = (unsigned long)retaddr;
tb = tb_find_pc(pc);
if (likely(tb)) {
/* the PC is inside the translated code. It means that we have