Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7bd0fea2
Commit
7bd0fea2
authored
May 30, 2008
by
Atsushi Nemoto
Committed by
Ralf Baechle
Jun 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Fix the fix for divide by zero error in build_{clear,copy}_page
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
89052bd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
arch/mips/mm/page.c
arch/mips/mm/page.c
+1
-1
No files found.
arch/mips/mm/page.c
View file @
7bd0fea2
...
@@ -460,7 +460,7 @@ void __cpuinit build_copy_page(void)
...
@@ -460,7 +460,7 @@ void __cpuinit build_copy_page(void)
build_copy_load_pref
(
&
buf
,
-
off
);
build_copy_load_pref
(
&
buf
,
-
off
);
off
-=
cache_line_size
;
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
;
cache_line_size
:
0
;
while
(
off
)
{
while
(
off
)
{
build_copy_store_pref
(
&
buf
,
-
off
);
build_copy_store_pref
(
&
buf
,
-
off
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment