]> 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)
commit692bda9c93bacc94fc72c3a834ee4596335ecb20
treee58233bd667ed5b9f012696144c055ae10c253eb
parent2c9765f49dcdf36a11b1c1b1678537a254bfe984
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