Fix typo in ppc icache flush.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1782 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ce5c37c2a4
commit
f5ba07d399
2
dyngen.h
2
dyngen.h
|
@ -59,7 +59,7 @@ static void inline flush_icache_range(unsigned long start, unsigned long stop)
|
||||||
{
|
{
|
||||||
unsigned long p;
|
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);
|
stop = (stop + MIN_CACHE_LINE_SIZE - 1) & ~(MIN_CACHE_LINE_SIZE - 1);
|
||||||
|
|
||||||
for (p = start; p < stop; p += MIN_CACHE_LINE_SIZE) {
|
for (p = start; p < stop; p += MIN_CACHE_LINE_SIZE) {
|
||||||
|
|
Loading…
Reference in a new issue