From 255108c0e3c78bc437789a3626e53079ef322a4e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 22 Nov 2010 14:57:54 -0800 Subject: [PATCH] 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 --- tcg/ia64/tcg-target.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c index a0f38771ee..80c6950b75 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 {