From dba4f1bcc3d45384238864d006b0a83788b56a65 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 2 Mar 2012 23:30:05 +0100 Subject: w64: Change data type of parameters for flush_icache_range The TCG targets i386 and tci needed a change of the function prototype for w64. This change is currently not needed for the other TCG targets, but it can be applied to avoid code differences. Cc: Blue Swirl Cc: Andrzej Zaborowski Cc: Richard Henderson Cc: Aurelien Jarno Cc: Alexander Graf Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- tcg/ia64/tcg-target.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tcg/ia64') diff --git a/tcg/ia64/tcg-target.h b/tcg/ia64/tcg-target.h index c388089..0631b9f 100644 --- a/tcg/ia64/tcg-target.h +++ b/tcg/ia64/tcg-target.h @@ -146,7 +146,8 @@ typedef enum { /* Guest base is supported */ #define TCG_TARGET_HAS_GUEST_BASE -static inline void flush_icache_range(unsigned long start, unsigned long stop) +static inline void flush_icache_range(tcg_target_ulong start, + tcg_target_ulong stop) { start = start & ~(32UL - 1UL); stop = (stop + (32UL - 1UL)) & ~(32UL - 1UL); -- cgit v1.1