From patchwork Mon Nov 22 22:57:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/7] tcg-ia64: Provide default GUEST_BASE. Date: Mon, 22 Nov 2010 12:57:54 -0000 From: Richard Henderson X-Patchwork-Id: 72616 Message-Id: <1290466678-6337-4-git-send-email-rth@twiddle.net> To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net Fix compilation error when GUEST_BASE is not defined. Signed-off-by: Richard Henderson --- tcg/ia64/tcg-target.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c index a0f3877..80c6950 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 {