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
49129844
Commit
49129844
authored
Feb 14, 2005
by
Krzysztof Helt
Committed by
David S. Miller
Feb 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC32]: Need to clear PSR_EF in psr of childregs on fork() on SMP.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
f13cc8f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
arch/sparc/kernel/process.c
arch/sparc/kernel/process.c
+5
-0
No files found.
arch/sparc/kernel/process.c
View file @
49129844
...
...
@@ -549,6 +549,11 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long sp,
}
}
#ifdef CONFIG_SMP
/* FPU must be disabled on SMP. */
childregs
->
psr
&=
~
PSR_EF
;
#endif
/* Set the return value for the child. */
childregs
->
u_regs
[
UREG_I0
]
=
current
->
pid
;
childregs
->
u_regs
[
UREG_I1
]
=
1
;
...
...
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