From c3ca04679e93a72635d6ef347886dbeba799b2d6 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 17 Apr 2012 19:22:39 +0200 Subject: tci: GETPC() macro must return an uintptr_t Change the data type of tci_tb_ptr, so GETPC() returns an uintptr_t now (like for all other TCG targets). This completes commit 2050396801ca0c8359364d61eaadece951006057 and fixes builds with TCI. Signed-off-by: Stefan Weil Reviewed-by: Eric Blake Signed-off-by: Blue Swirl --- exec-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exec-all.h') diff --git a/exec-all.h b/exec-all.h index 6bcc075..937d3ce 100644 --- a/exec-all.h +++ b/exec-all.h @@ -283,7 +283,7 @@ extern int tb_invalidated_flag; /* Alpha and SH4 user mode emulations and Softmmu call GETPC(). For all others, GETPC remains undefined (which makes TCI a little faster. */ # if defined(CONFIG_SOFTMMU) || defined(TARGET_ALPHA) || defined(TARGET_SH4) -extern void *tci_tb_ptr; +extern uintptr_t tci_tb_ptr; # define GETPC() tci_tb_ptr # endif #elif defined(__s390__) && !defined(__s390x__) -- cgit v1.1