aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-03-11 20:43:48 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-03-11 20:43:48 +0000
commitf5ba07d399ff205da3e91de4389e936027856b48 (patch)
treea90ad6226635e284b2b032037b607ca329b0d343
parentce5c37c2a4f90473af5255e4ff3ea2c2f260718f (diff)
Fix typo in ppc icache flush.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1782 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--dyngen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dyngen.h b/dyngen.h
index e0e1f4a13a..76866d4a19 100644
--- a/dyngen.h
+++ b/dyngen.h
@@ -59,7 +59,7 @@ static void inline flush_icache_range(unsigned long start, unsigned long stop)
{
unsigned long p;
- p = start & ~(MIN_CACHE_LINE_SIZE - 1);
+ start &= ~(MIN_CACHE_LINE_SIZE - 1);
stop = (stop + MIN_CACHE_LINE_SIZE - 1) & ~(MIN_CACHE_LINE_SIZE - 1);
for (p = start; p < stop; p += MIN_CACHE_LINE_SIZE) {