xtensa: add support for TLS
authorChris Zankel <chris@zankel.net>
Sun, 24 Feb 2013 03:35:57 +0000 (19:35 -0800)
committerChris Zankel <chris@zankel.net>
Sun, 24 Feb 2013 03:35:57 +0000 (19:35 -0800)
The Xtensa architecture provides a global register called THREADPTR
for the purpose of Thread Local Storage (TLS) support. This allows us
to use a fairly simple implementation, keeping the thread pointer in
the regset and simply saving and restoring it upon entering/exiting
the from user space.

Signed-off-by: Chris Zankel <chris@zankel.net>

No differences found