aboutsummaryrefslogtreecommitdiffstats
path: root/target-mips/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-mips/helper.c')
-rw-r--r--target-mips/helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/helper.c b/target-mips/helper.c
index d48c32b22..c23e9c6b3 100644
--- a/target-mips/helper.c
+++ b/target-mips/helper.c
@@ -141,12 +141,12 @@ static int get_physical_address (CPUState *env, target_ulong *physical,
}
#if defined(CONFIG_USER_ONLY)
-target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
+target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
{
return addr;
}
#else
-target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
+target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr)
{
target_ulong phys_addr;
int prot;