diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-21 13:52:08 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-21 13:52:08 +0100 |
commit | b711de9565d3c8f758956dfa96b648cc321577b6 (patch) | |
tree | 75cfacb2e5563a009e6cc7e6618f476dd45c0845 /target-ppc/op_helper.c | |
parent | e3ea652962383a2ffc05b2f1b10a0e97542eb6f8 (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.c | 2 |
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) |