qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/7] tcg-ia64: Provide default GUEST_BASE.


From: Richard Henderson
Subject: [Qemu-devel] [PATCH 3/7] tcg-ia64: Provide default GUEST_BASE.
Date: Mon, 22 Nov 2010 14:57:54 -0800

Fix compilation error when GUEST_BASE is not defined.

Signed-off-by: Richard Henderson <address@hidden>
---
 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 {
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]