Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
cde15b59
Commit
cde15b59
authored
Jan 06, 2009
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Only write c0_framemask on CPUs which have this register.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
61f9c58d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
arch/mips/mm/tlb-r4k.c
arch/mips/mm/tlb-r4k.c
+4
-1
No files found.
arch/mips/mm/tlb-r4k.c
View file @
cde15b59
...
@@ -478,7 +478,10 @@ void __cpuinit tlb_init(void)
...
@@ -478,7 +478,10 @@ void __cpuinit tlb_init(void)
probe_tlb
(
config
);
probe_tlb
(
config
);
write_c0_pagemask
(
PM_DEFAULT_MASK
);
write_c0_pagemask
(
PM_DEFAULT_MASK
);
write_c0_wired
(
0
);
write_c0_wired
(
0
);
write_c0_framemask
(
0
);
if
(
current_cpu_type
()
==
CPU_R10000
||
current_cpu_type
()
==
CPU_R12000
||
current_cpu_type
()
==
CPU_R14000
)
write_c0_framemask
(
0
);
temp_tlb_entry
=
current_cpu_data
.
tlbsize
-
1
;
temp_tlb_entry
=
current_cpu_data
.
tlbsize
-
1
;
/* From this point on the ARC firmware is dead. */
/* From this point on the ARC firmware is dead. */
...
...
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