OSDN Git Service

cache-utils: Change data type of parameters for flush_icache_range
authorStefan Weil <sw@weilnetz.de>
Fri, 2 Mar 2012 22:30:06 +0000 (23:30 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 3 Mar 2012 18:10:22 +0000 (18:10 +0000)
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>
cache-utils.h

index 0b65907..04a6e2e 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;