summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2009-05-01 15:18:00 -0500
committerAvi Kivity <avi@redhat.com>2009-05-03 19:12:13 +0300
commit0925f805e8b73d31bb2d9fc6a28c6e892fea5b66 (patch)
treecf1276ace4a5241ec220f601d2318aaed6bc0f88 /cache-utils.h
parentkvm: Add release script (diff)
downloadqemu-kvm-0925f805e8b73d31bb2d9fc6a28c6e892fea5b66.tar.gz
qemu-kvm-0925f805e8b73d31bb2d9fc6a28c6e892fea5b66.tar.bz2
qemu-kvm-0925f805e8b73d31bb2d9fc6a28c6e892fea5b66.zip
Revert "Sync idcache after emualted DMA operations for ia64"
This reverts commit 9dc99a28236161a5a1b4c58f1e9c4ec6179cb976. Aside from the other issues discussed on kvm-devel, this commit breaks the PowerPC build. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'cache-utils.h')
-rw-r--r--cache-utils.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/cache-utils.h b/cache-utils.h
index 2a07fbde3..b45fde44e 100644
--- a/cache-utils.h
+++ b/cache-utils.h
@@ -33,22 +33,8 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop)
asm volatile ("sync" : : : "memory");
asm volatile ("isync" : : : "memory");
}
-#define qemu_sync_idcache flush_icache_range
-#else
-#ifdef __ia64__
-static inline void qemu_sync_idcache(unsigned long start, unsigned long stop)
-{
- while (start < stop) {
- asm volatile ("fc %0" :: "r"(start));
- start += 32;
- }
- asm volatile (";;sync.i;;srlz.i;;");
-}
#else
-static inline void qemu_sync_idcache(unsigned long start, unsigned long stop) {}
-#endif
-
#define qemu_cache_utils_init(envp) do { (void) (envp); } while (0)
#endif