From 162e992270fd3587b21fa77fd4a8ccc879c402c9 Mon Sep 17 00:00:00 2001 From: Peter Crosthwaite Date: Thu, 10 Sep 2015 22:39:35 -0700 Subject: tcg: Move tci_tb_ptr to -common This requires global visibility to common code. Move to tcg-common. Cc: Stefan Weil Signed-off-by: Peter Crosthwaite Message-Id: Signed-off-by: Paolo Bonzini --- tcg/tcg-common.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tcg') diff --git a/tcg/tcg-common.c b/tcg/tcg-common.c index 6a68c42..8fa4e13 100644 --- a/tcg/tcg-common.c +++ b/tcg/tcg-common.c @@ -24,6 +24,10 @@ #include "tcg/tcg.h" +#if defined(CONFIG_TCG_INTERPRETER) +uintptr_t tci_tb_ptr; +#endif + TCGOpDef tcg_op_defs[] = { #define DEF(s, oargs, iargs, cargs, flags) \ { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags }, -- cgit v1.1