aboutsummaryrefslogtreecommitdiff
path: root/cache-utils.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-03-02 23:30:06 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-03-03 18:10:22 +0000
commit021ecd8b9db37927059f5d3234b51ed766706437 (patch)
tree1b398d66b0e0602a21fb0f0f214b8327cb5ad260 /cache-utils.h
parentdba4f1bcc3d45384238864d006b0a83788b56a65 (diff)
cache-utils: 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 here, but it can be applied to avoid code differences. Cc: Alexander Graf <agraf@suse.de> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cache-utils.h')
-rw-r--r--cache-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-utils.h b/cache-utils.h
index 0b65907e97..04a6e2e9c9 100644
--- a/cache-utils.h
+++ b/cache-utils.h
@@ -12,7 +12,7 @@ extern struct qemu_cache_conf qemu_cache_conf;
void qemu_cache_utils_init(char **envp);
/* mildly adjusted code from tcg-dyngen.c */
-static inline void flush_icache_range(unsigned long start, unsigned long stop)
+static inline void flush_icache_range(uintptr_t start, uintptr_t stop)
{
unsigned long p, start1, stop1;
unsigned long dsize = qemu_cache_conf.dcache_bsize;