]> git.baikalelectronics.ru Git - kernel.git/commit
openrisc: Add thread-local storage (TLS) support
authorChristian Svensson <blue@cmd.nu>
Sat, 25 Jan 2014 15:48:54 +0000 (15:48 +0000)
committerStafford Horne <shorne@gmail.com>
Mon, 12 Dec 2016 14:09:28 +0000 (23:09 +0900)
commit5ea54ff9c9561279f326697cea824511ce86974d
treee58233bd667ed5b9f012696144c055ae10c253eb
parenta00af4fd0cf6471ea8fb6d0ab56391f41f3d3960
openrisc: Add thread-local storage (TLS) support

Historically OpenRISC GCC has reserved r10 which we now use to hold
the thread pointer for thread-local storage (TLS).

Signed-off-by: Christian Svensson <blue@cmd.nu>
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/process.c