aboutsummaryrefslogtreecommitdiff
path: root/darwin-user/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'darwin-user/main.c')
-rw-r--r--darwin-user/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c
index 2f4a0f827b..d83e1c172e 100644
--- a/darwin-user/main.c
+++ b/darwin-user/main.c
@@ -92,9 +92,9 @@ uint32_t cpu_ppc_load_tbu (CPUState *env)
return cpu_ppc_get_tb(env) >> 32;
}
-uint32_t cpu_ppc_load_atbl (CPUState *env)
+uint64_t cpu_ppc_load_atbl (CPUState *env)
{
- return cpu_ppc_get_tb(env) & 0xFFFFFFFF;
+ return cpu_ppc_get_tb(env);
}
uint32_t cpu_ppc_load_atbu (CPUState *env)