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
ab843583
Commit
ab843583
authored
May 31, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: __volatile --> __volatile__
parent
4b3eb953
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
arch/sparc64/kernel/process.c
arch/sparc64/kernel/process.c
+18
-18
include/asm-sparc64/uaccess.h
include/asm-sparc64/uaccess.h
+1
-1
No files found.
arch/sparc64/kernel/process.c
View file @
ab843583
...
...
@@ -694,7 +694,7 @@ pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
* So we stash 'fn' and 'arg' into global registers which
* will not be modified by the parent.
*/
__asm__
__volatile
(
"mov %4, %%g2
\n\t
"
/* Save FN into global */
__asm__
__volatile
__
(
"mov %4, %%g2
\n\t
"
/* Save FN into global */
"mov %5, %%g3
\n\t
"
/* Save ARG into global */
"mov %1, %%g1
\n\t
"
/* Clone syscall nr. */
"mov %2, %%o0
\n\t
"
/* Clone flags. */
...
...
include/asm-sparc64/uaccess.h
View file @
ab843583
...
...
@@ -163,7 +163,7 @@ __asm__ __volatile__( \
".previous\n\n\t" \
: "=r" (foo) : "r" (x), "r" (__m(addr))); \
else \
__asm__ __volatile( \
__asm__ __volatile
__
( \
"
/* Put user asm ret, inline. */
\n" \
"1:\t" "st"#size "a %1, [%2] %%asi\n\n\t" \
".section .fixup,#alloc,#execinstr\n\t" \
...
...
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