提交 f5ba07d3 编写于 作者: P pbrook

Fix typo in ppc icache flush.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1782 c046a42c-6fe2-441c-8c8c-71466251a162
上级 ce5c37c2
...@@ -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)
{ {
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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册