]> git.karo-electronics.de Git - linux-beck.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)
commite60aa2fba4678d4e7e2d28ef4f2110084d0b150a
treee58233bd667ed5b9f012696144c055ae10c253eb
parentc79902190f7e61fcae7c3f4b613c75062f385678
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