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
nexedi
linux
Commits
161548bf
Commit
161548bf
authored
Jan 29, 2008
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] tlbex: Cleanup handling of R2 hazards in TLB handlers.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
6920df40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
arch/mips/mm/tlbex.c
arch/mips/mm/tlbex.c
+6
-8
No files found.
arch/mips/mm/tlbex.c
View file @
161548bf
...
@@ -860,6 +860,12 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,
...
@@ -860,6 +860,12 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,
case
tlb_indexed
:
tlbw
=
i_tlbwi
;
break
;
case
tlb_indexed
:
tlbw
=
i_tlbwi
;
break
;
}
}
if
(
cpu_has_mips_r2
)
{
i_ehb
(
p
);
tlbw
(
p
);
return
;
}
switch
(
current_cpu_type
())
{
switch
(
current_cpu_type
())
{
case
CPU_R4000PC
:
case
CPU_R4000PC
:
case
CPU_R4000SC
:
case
CPU_R4000SC
:
...
@@ -935,14 +941,6 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,
...
@@ -935,14 +941,6 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,
tlbw
(
p
);
tlbw
(
p
);
break
;
break
;
case
CPU_4KEC
:
case
CPU_24K
:
case
CPU_34K
:
case
CPU_74K
:
i_ehb
(
p
);
tlbw
(
p
);
break
;
case
CPU_RM9000
:
case
CPU_RM9000
:
/*
/*
* When the JTLB is updated by tlbwi or tlbwr, a subsequent
* When the JTLB is updated by tlbwi or tlbwr, a subsequent
...
...
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