Commit f5ba07d399ff205da3e91de4389e936027856b48
1 parent
ce5c37c2
Fix typo in ppc icache flush.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1782 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
dyngen.h
@@ -59,7 +59,7 @@ static void inline flush_icache_range(unsigned long start, unsigned long stop) | @@ -59,7 +59,7 @@ static void inline flush_icache_range(unsigned long start, unsigned long stop) | ||
59 | { | 59 | { |
60 | unsigned long p; | 60 | unsigned long p; |
61 | 61 | ||
62 | - p = start & ~(MIN_CACHE_LINE_SIZE - 1); | 62 | + start &= ~(MIN_CACHE_LINE_SIZE - 1); |
63 | stop = (stop + MIN_CACHE_LINE_SIZE - 1) & ~(MIN_CACHE_LINE_SIZE - 1); | 63 | stop = (stop + MIN_CACHE_LINE_SIZE - 1) & ~(MIN_CACHE_LINE_SIZE - 1); |
64 | 64 | ||
65 | for (p = start; p < stop; p += MIN_CACHE_LINE_SIZE) { | 65 | for (p = start; p < stop; p += MIN_CACHE_LINE_SIZE) { |