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

Submitted by Richard Henderson on Aug. 17, 2011, 9:11 p.m.

Details

Message ID 1313615510-10615-5-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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) {