提交 7bd0fea2 编写于 作者: A Atsushi Nemoto 提交者: Ralf Baechle

[MIPS] Fix the fix for divide by zero error in build_{clear,copy}_page

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 89052bd7
......@@ -460,7 +460,7 @@ void __cpuinit build_copy_page(void)
build_copy_load_pref(&buf, -off);
off -= cache_line_size;
}
off = cache_line_size ? min(8, pref_bias_copy_load / cache_line_size) *
off = cache_line_size ? min(8, pref_bias_copy_store / cache_line_size) *
cache_line_size : 0;
while (off) {
build_copy_store_pref(&buf, -off);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册