]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: Add TLS support to sys_clone
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Fri, 24 Feb 2012 04:52:26 +0000 (14:52 +1000)
committerMichal Simek <monstr@monstr.eu>
Fri, 25 May 2012 04:40:23 +0000 (06:40 +0200)
commitc6cbf1078613eedda08e09b91cb8fde8752a18c8
tree20663d437e1df665ed06ebb934801fb0405c2c06
parent4a33ed62e63b4b72e14557dc9a5531c25c506707
microblaze: Add TLS support to sys_clone

Formerly unused Args 4/5 now load parent tid / child tid so the brid to
do_fork can pick up TLS from r10. Arg 3 still unused

There is also necessary to fix old glibc which do not setup r9/r10 (arg 4/5).
Simple clearing them is fine.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: David Holsgrove <david.holsgrove@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/entry.S