From: Richard Henderson Date: Mon, 22 Nov 2010 22:57:54 +0000 (-0800) Subject: tcg-ia64: Provide default GUEST_BASE. X-Git-Tag: v0.14.0-rc0~408 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=255108c0e3c78bc437789a3626e53079ef322a4e;p=thirdparty%2Fqemu.git tcg-ia64: Provide default GUEST_BASE. Fix compilation error when GUEST_BASE is not defined. Signed-off-by: Richard Henderson Signed-off-by: Edgar E. Iglesias --- diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c index a0f38771eea..80c6950b75f 100644 --- a/tcg/ia64/tcg-target.c +++ b/tcg/ia64/tcg-target.c @@ -45,6 +45,9 @@ static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = { #else #define TCG_GUEST_BASE_REG TCG_REG_R0 #endif +#ifndef GUEST_BASE +#define GUEST_BASE 0 +#endif /* Branch registers */ enum {