projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89052bd
)
[MIPS] Fix the fix for divide by zero error in build_{clear,copy}_page
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Fri, 30 May 2008 04:07:21 +0000
(13:07 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 16 Jun 2008 14:14:47 +0000
(15:14 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/page.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/mm/page.c
b/arch/mips/mm/page.c
index cab81f42eee56589239fdd9d6a8eb0fb5a5e47a9..1edf0cbbeede7e888d05e05c6a61603e2ad62483 100644
(file)
--- a/
arch/mips/mm/page.c
+++ b/
arch/mips/mm/page.c
@@
-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);