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
514c8533
Commit
514c8533
authored
Jan 21, 2004
by
Suresh B. Siddha
Committed by
David Mosberger
Jan 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: replace inline assembly in sn2 code
parent
7bd1cc17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
arch/ia64/sn/kernel/sn2/sn2_smp.c
arch/ia64/sn/kernel/sn2/sn2_smp.c
+3
-2
No files found.
arch/ia64/sn/kernel/sn2/sn2_smp.c
View file @
514c8533
...
...
@@ -74,7 +74,7 @@ wait_piowc(void)
piows
=
pda
->
pio_write_status_addr
;
do
{
__asm__
__volatile__
(
"mf.a"
:::
"memory"
);
ia64_mfa
(
);
}
while
(((
ws
=
*
piows
)
&
SH_PIO_WRITE_STATUS_0_PENDING_WRITE_COUNT_MASK
)
!=
SH_PIO_WRITE_STATUS_0_PENDING_WRITE_COUNT_MASK
);
return
ws
;
...
...
@@ -117,7 +117,8 @@ sn2_global_tlb_purge (unsigned long start, unsigned long end, unsigned long nbit
if
(
is_headless_node
(
cnode
))
continue
;
if
(
cnode
==
mycnode
)
{
asm
volatile
(
"ptc.ga %0,%1;;srlz.i;;"
::
"r"
(
start
),
"r"
(
nbits
<<
2
)
:
"memory"
);
ia64_ptcga
(
start
,
nbits
<<
2
);
ia64_srlz_i
();
}
else
{
nasid
=
cnodeid_to_nasid
(
cnode
);
ptc0
=
CHANGE_NASID
(
nasid
,
ptc0
);
...
...
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