projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f036d9f
)
sparc32: Fix thinko in previous change.
author
David S. Miller
<davem@davemloft.net>
Thu, 11 Feb 2010 20:29:16 +0000
(12:29 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Feb 2010 20:29:16 +0000
(12:29 -0800)
Should mask stack with 0xf not "0x15".
Noticed by Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/process_32.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/process_32.c
b/arch/sparc/kernel/process_32.c
index
f23c8fd
..
c49865b
100644
(file)
--- a/
arch/sparc/kernel/process_32.c
+++ b/
arch/sparc/kernel/process_32.c
@@
-526,7
+526,7
@@
int copy_thread(unsigned long clone_flags, unsigned long sp,
* Set some valid stack frames to give to the child.
*/
childstack = (struct sparc_stackf __user *)
- (sp & ~0x
15
UL);
+ (sp & ~0x
f
UL);
parentstack = (struct sparc_stackf __user *)
regs->u_regs[UREG_FP];