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
d437441e
Commit
d437441e
authored
Feb 28, 2005
by
Pete Popov
Committed by
Ralf Baechle
Oct 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No barrier needed on au1x.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
13d1d73e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
arch/mips/pci/ops-au1000.c
arch/mips/pci/ops-au1000.c
+0
-9
No files found.
arch/mips/pci/ops-au1000.c
View file @
d437441e
...
@@ -50,11 +50,6 @@
...
@@ -50,11 +50,6 @@
int
(
*
board_pci_idsel
)(
unsigned
int
devsel
,
int
assert
);
int
(
*
board_pci_idsel
)(
unsigned
int
devsel
,
int
assert
);
/* CP0 hazard avoidance. */
#define BARRIER __asm__ __volatile__(".set noreorder\n\t" \
"nop; nop; nop; nop;\t" \
".set reorder\n\t")
void
mod_wired_entry
(
int
entry
,
unsigned
long
entrylo0
,
void
mod_wired_entry
(
int
entry
,
unsigned
long
entrylo0
,
unsigned
long
entrylo1
,
unsigned
long
entryhi
,
unsigned
long
entrylo1
,
unsigned
long
entryhi
,
unsigned
long
pagemask
)
unsigned
long
pagemask
)
...
@@ -66,16 +61,12 @@ void mod_wired_entry(int entry, unsigned long entrylo0,
...
@@ -66,16 +61,12 @@ void mod_wired_entry(int entry, unsigned long entrylo0,
old_ctx
=
read_c0_entryhi
()
&
0xff
;
old_ctx
=
read_c0_entryhi
()
&
0xff
;
old_pagemask
=
read_c0_pagemask
();
old_pagemask
=
read_c0_pagemask
();
write_c0_index
(
entry
);
write_c0_index
(
entry
);
BARRIER
;
write_c0_pagemask
(
pagemask
);
write_c0_pagemask
(
pagemask
);
write_c0_entryhi
(
entryhi
);
write_c0_entryhi
(
entryhi
);
write_c0_entrylo0
(
entrylo0
);
write_c0_entrylo0
(
entrylo0
);
write_c0_entrylo1
(
entrylo1
);
write_c0_entrylo1
(
entrylo1
);
BARRIER
;
tlb_write_indexed
();
tlb_write_indexed
();
BARRIER
;
write_c0_entryhi
(
old_ctx
);
write_c0_entryhi
(
old_ctx
);
BARRIER
;
write_c0_pagemask
(
old_pagemask
);
write_c0_pagemask
(
old_pagemask
);
}
}
...
...
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