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
8e5aaa9b
Commit
8e5aaa9b
authored
Jun 27, 2002
by
David Gibson
Committed by
Paul Mackerras
Jun 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: more PPC40x cleanup (remove CONFIG_PIN_TLB, add comments).
parent
314d12aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+4
-4
No files found.
arch/ppc/kernel/misc.S
View file @
8e5aaa9b
...
...
@@ -354,7 +354,7 @@ _GLOBAL(_nmask_and_or_msr)
*
Flush
MMU
TLB
*/
_GLOBAL
(
_tlbia
)
#if defined(CONFIG_40x)
&& defined(CONFIG_PIN_TLB)
#if defined(CONFIG_40x)
/
*
This
needs
to
be
coordinated
with
other
pinning
functions
since
*
we
don
't keep a memory location of number of entries to reduce
*
cache
pollution
during
these
operations
.
...
...
@@ -367,7 +367,7 @@ _GLOBAL(_tlbia)
cmpwi
0
,
r3
,
61
/*
reserve
last
two
entries
*/
ble
1
b
isync
#else
#else
/* ! defined(CONFIG_40x) */
#if defined(CONFIG_SMP)
rlwinm
r8
,
r1
,
0
,
0
,
18
lwz
r8
,
TI_CPU
(
r8
)
...
...
@@ -401,7 +401,7 @@ _GLOBAL(_tlbia)
tlbia
sync
#endif /* CONFIG_SMP */
#endif /*
defined(CONFIG_40x) && defined(CONFIG_PIN_TLB
) */
#endif /*
! defined(CONFIG_40x
) */
blr
/*
...
...
@@ -412,7 +412,7 @@ _GLOBAL(_tlbie)
tlbsx
.
r3
,
0
,
r3
bne
10
f
sync
/
*
There
are
only
64
TLB
entries
,
so
r3
<
64
,
which
means
bit
25
,
is
clear
.
/
*
There
are
only
64
TLB
entries
,
so
r3
<
64
,
which
means
bit
25
is
clear
.
*
Since
25
is
the
V
bit
in
the
TLB_TAG
,
loading
this
value
will
invalidate
*
the
TLB
entry
.
*/
tlbwe
r3
,
r3
,
TLB_TAG
...
...
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