From: Richard Henderson Date: Wed, 17 Aug 2011 21:11:48 +0000 (-0700) Subject: tcg-hppa: Fix CPU_TEMP_BUF_NLONGS oversight. X-Git-Tag: v1.0-rc0~469 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6e6a99249cb54188ab3a1cc1152fa69420a174ce;p=users%2Fdwmw2%2Fqemu.git tcg-hppa: Fix CPU_TEMP_BUF_NLONGS oversight. Signed-off-by: Richard Henderson Signed-off-by: Blue Swirl --- 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) {