projects
/
openwrt
/
staging
/
blogic.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 f23c8fda6503453668aed0f35c14bce99d0a7004..c49865b30719d2e8113313591834f34d4d5fa063 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];