aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op_helper.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2009-12-21 13:52:08 +0100
committerAurelien Jarno <aurelien@aurel32.net>2009-12-21 13:52:08 +0100
commitb711de9565d3c8f758956dfa96b648cc321577b6 (patch)
tree75cfacb2e5563a009e6cc7e6618f476dd45c0845 /target-ppc/op_helper.c
parente3ea652962383a2ffc05b2f1b10a0e97542eb6f8 (diff)
PPC64: Fix alternate timebase
Fix the alternate time base the same way as the default timebase. SPR_ATBL should return a 64-bit value on 64 bit implementations. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r--target-ppc/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index e7bcd71f97..cb191933ae 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -78,7 +78,7 @@ target_ulong helper_load_tbu (void)
target_ulong helper_load_atbl (void)
{
- return cpu_ppc_load_atbl(env);
+ return (target_ulong)cpu_ppc_load_atbl(env);
}
target_ulong helper_load_atbu (void)