[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] tci: Use uintptr_t for the GETPC() macro
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH] tci: Use uintptr_t for the GETPC() macro |
Date: |
Tue, 17 Apr 2012 18:36:05 +0200 |
This completes commit 2050396801ca0c8359364d61eaadece951006057
and fixes builds with TCI.
Signed-off-by: Stefan Weil <address@hidden>
---
exec-all.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/exec-all.h b/exec-all.h
index a963fd4..e766f9d 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -284,7 +284,7 @@ extern int tb_invalidated_flag;
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;
-# define GETPC() tci_tb_ptr
+# define GETPC() (uintptr_t)tci_tb_ptr
# endif
#elif defined(__s390__) && !defined(__s390x__)
# define GETPC() \
--
1.7.0.4
- [Qemu-devel] [PATCH] tci: Use uintptr_t for the GETPC() macro,
Stefan Weil <=
- Re: [Qemu-devel] [PATCH] tci: Use uintptr_t for the GETPC() macro, Eric Blake, 2012/04/17
- Re: [Qemu-devel] [PATCH] tci: Use uintptr_t for the GETPC() macro, Stefan Weil, 2012/04/17
- Re: [Qemu-devel] [PATCH] tci: Use uintptr_t for the GETPC() macro, Eric Blake, 2012/04/17
- Re: [Qemu-devel] [PATCH] tci: Use uintptr_t for the GETPC() macro, Stefan Weil, 2012/04/17
- [Qemu-devel] [PATCH] tci: GETPC() macro must return an uintptr_t, Stefan Weil, 2012/04/17
- Re: [Qemu-devel] [PATCH] tci: GETPC() macro must return an uintptr_t, Eric Blake, 2012/04/17
- Re: [Qemu-devel] [PATCH] tci: GETPC() macro must return an uintptr_t, Blue Swirl, 2012/04/21