Patchwork [4/6] tcg-hppa: Fix CPU_TEMP_BUF_NLONGS oversight.

login
register
mail settings
Submitter Richard Henderson
Date Aug. 17, 2011, 9:11 p.m.
Message ID <1313615510-10615-5-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/110463/
State New
Headers show

Comments

Richard Henderson - Aug. 17, 2011, 9:11 p.m.
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 tcg/hppa/tcg-target.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c
index 222f33e..71d9677 100644
--- a/tcg/hppa/tcg-target.c
+++ b/tcg/hppa/tcg-target.c
@@ -1650,7 +1650,7 @@  static void tcg_target_qemu_prologue(TCGContext *s)
 
     /* Record the location of the TCG temps.  */
     tcg_set_frame(s, TCG_REG_CALL_STACK, -frame_size + i * 4,
-                  TCG_TEMP_BUF_NLONGS * sizeof(long));
+                  CPU_TEMP_BUF_NLONGS * sizeof(long));
 
 #ifdef CONFIG_USE_GUEST_BASE
     if (GUEST_BASE != 0) {