]> git.proxmox.com Git - qemu.git/blobdiff - cache-utils.h
cache-utils: Change data type of parameters for flush_icache_range
[qemu.git] / cache-utils.h
index 0b65907e9725854ca82a3e802bbf2bca10bd3682..04a6e2e9c9b2741954cdc7cc0a50538d6c74929f 100644 (file)
@@ -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;