From d9b6cb97a8a9e93f1bbe5351874b03f7faa81783 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 20 Oct 2010 19:07:28 +0200 Subject: Fix linux-x86_64 build. Fix various 64-bitness issues in the source code to make the --try-64 option work again on Linux. Note that the generated binary is not faster than its 32-bit variant when it comes to benchmarking the boot sequence. Change-Id: Iad248e033757d4cd25524a438a5dbe1cf3aca6cf --- target-arm/helper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target-arm/helper.c') diff --git a/target-arm/helper.c b/target-arm/helper.c index 56d9953..258e2cb 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2672,11 +2672,11 @@ void HELPER(set_teecr)(CPUState *env, uint32_t val) } #ifdef CONFIG_MEMCHECK -void HELPER(on_call)(void* pc, void* ret) { - memcheck_on_call((target_ulong)pc, (target_ulong)ret); +void HELPER(on_call)(target_ulong pc, target_ulong ret) { + memcheck_on_call(pc, ret); } -void HELPER(on_ret)(void* ret) { - memcheck_on_ret((target_ulong)ret); +void HELPER(on_ret)(target_ulong ret) { + memcheck_on_ret(ret); } #endif // CONFIG_MEMCHECK -- cgit v1.1