Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308493
b: refs/heads/master
c: d5c15f1
h: refs/heads/master
i:
  308491: 87170de
v: v3
  • Loading branch information
Edgar E. Iglesias authored and Michal Simek committed May 25, 2012
1 parent a1b4546 commit d762391
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8d95e1224afa22e7881fc823849342b5602d736e
refs/heads/master: d5c15f17844b8883bc13b61a8ae114f0d3d59cdd
6 changes: 5 additions & 1 deletion trunk/arch/microblaze/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,12 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,
#endif
ti->cpu_context.r15 = (unsigned long)ret_from_fork - 8;

/*
* r21 is the thread reg, r10 is 6th arg to clone
* which contains TLS area
*/
if (clone_flags & CLONE_SETTLS)
;
childregs->r21 = childregs->r10;

return 0;
}
Expand Down

0 comments on commit d762391

Please sign in to comment.