diff options
Diffstat (limited to 'tcg/ppc64/tcg-target.c')
-rw-r--r-- | tcg/ppc64/tcg-target.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index fed179c..cf36c55 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -28,11 +28,13 @@ static uint8_t *tb_ret_addr; #define FAST_PATH +#ifdef CONFIG_SOFTMMU #if TARGET_PHYS_ADDR_BITS == 32 #define LD_ADDEND LWZ #else #define LD_ADDEND LD #endif +#endif #if TARGET_LONG_BITS == 32 #define LD_ADDR LWZU |