[5947] Fix 64-bit targets compilation on ARM host.
Revision: 5947
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5947 Author: balrog Date: 2008-12-07 23:35:47 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
Fix 64-bit targets compilation on ARM host.
Only fix compilation, probably doesn't run.
Modified Paths:
--------------
trunk/tcg/arm/tcg-target.c
Modified: trunk/tcg/arm/tcg-target.c
===================================================================
tcg/arm/tcg-target.c +6 -6
@@ -858,10 +858,10 @@else data_reg2 =0 ;/* surpress warning */ addr_reg = *args++; -#if TARGET_LONG_BITS ==64 +#ifdef CONFIG_SOFTMMU +# if TARGET_LONG_BITS ==64 addr_reg2 = *args++; -#endif -#ifdef CONFIG_SOFTMMU +# endif mem_index = *args; s_bits = opc &3 ;
@@ -1036,10 +1036,10 @@else data_reg2 =0 ;/* surpress warning */ addr_reg = *args++; -#if TARGET_LONG_BITS ==64 +#ifdef CONFIG_SOFTMMU +# if TARGET_LONG_BITS ==64 addr_reg2 = *args++; -#endif -#ifdef CONFIG_SOFTMMU +# endif mem_index = *args; s_bits = opc &3 ;