Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe
Commits
cde15b59
Commit
cde15b59
authored
Jan 06, 2009
by
Ralf Baechle
Browse files
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
arch/mips/mm/tlb-r4k.c
View file @
cde15b59
...
...
@@ -478,7 +478,10 @@ void __cpuinit tlb_init(void)
probe_tlb
(
config
);
write_c0_pagemask
(
PM_DEFAULT_MASK
);
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
;
/* 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