summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcg/hppa/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c
index 222f33eb6d..71d9677ab2 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) {