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
794aea03
Commit
794aea03
authored
Apr 24, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: add missing memory barriers in cpu bringup code,
from Colin Devilbiss
parent
309ce2e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
arch/ppc64/kernel/smp.c
arch/ppc64/kernel/smp.c
+13
-0
No files found.
arch/ppc64/kernel/smp.c
View file @
794aea03
...
...
@@ -171,6 +171,13 @@ static void smp_iSeries_kick_cpu(int nr)
lpPaca
=
paca
[
nr
].
xLpPacaPtr
;
if
(
lpPaca
->
xDynProcStatus
>=
2
)
return
;
/* The information for processor bringup must
* be written out to main store before we release
* the processor.
*/
mb
();
/* The processor is currently spinning, waiting
* for the xProcStart field to become non-zero
* After we set xProcStart, the processor will
...
...
@@ -236,6 +243,12 @@ smp_kick_cpu(int nr)
(
nr
>=
MAX_PACAS
)
)
return
;
/* The information for processor bringup must
* be written out to main store before we release
* the processor.
*/
mb
();
/* The processor is currently spinning, waiting
* for the xProcStart field to become non-zero
* After we set xProcStart, the processor will
...
...
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