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
a0b62180
Commit
a0b62180
authored
Jan 19, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] SMTC: Fix TLB sizing bug for TLB of 64 >= entries
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
89c07fd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
arch/mips/kernel/smtc.c
arch/mips/kernel/smtc.c
+5
-2
No files found.
arch/mips/kernel/smtc.c
View file @
a0b62180
...
...
@@ -270,9 +270,12 @@ void smtc_configure_tlb(void)
* of their initialization in smtc_cpu_setup().
*/
tlbsiz
=
tlbsiz
&
0x3f
;
/* MIPS32 limits TLB indices to 64 */
cpu_data
[
0
].
tlbsize
=
tlbsiz
;
/* MIPS32 limits TLB indices to 64 */
if
(
tlbsiz
>
64
)
tlbsiz
=
64
;
cpu_data
[
0
].
tlbsize
=
current_cpu_data
.
tlbsize
=
tlbsiz
;
smtc_status
|=
SMTC_TLB_SHARED
;
local_flush_tlb_all
();
printk
(
"TLB of %d entry pairs shared by %d VPEs
\n
"
,
tlbsiz
,
vpes
);
...
...
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