diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-05-30 00:07:21 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-06-16 10:14:47 -0400 |
commit | 7bd0fea2c590d94995c2ee0b32e786c1c62621fa (patch) | |
tree | c7a64a63a58bef3dd378ebf2aedadcaa5944af63 /arch/mips/mm | |
parent | 89052bd7b393434f7c573ce6a3b88c5f143586d2 (diff) |
[MIPS] Fix the fix for divide by zero error in build_{clear,copy}_page
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/page.c b/arch/mips/mm/page.c index cab81f42eee5..1edf0cbbeede 100644 --- a/arch/mips/mm/page.c +++ b/arch/mips/mm/page.c | |||
@@ -460,7 +460,7 @@ void __cpuinit build_copy_page(void) | |||
460 | build_copy_load_pref(&buf, -off); | 460 | build_copy_load_pref(&buf, -off); |
461 | off -= cache_line_size; | 461 | off -= cache_line_size; |
462 | } | 462 | } |
463 | off = cache_line_size ? min(8, pref_bias_copy_load / cache_line_size) * | 463 | off = cache_line_size ? min(8, pref_bias_copy_store / cache_line_size) * |
464 | cache_line_size : 0; | 464 | cache_line_size : 0; |
465 | while (off) { | 465 | while (off) { |
466 | build_copy_store_pref(&buf, -off); | 466 | build_copy_store_pref(&buf, -off); |