aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/kernel/thread_private.h
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2016-01-14 13:57:51 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2016-02-19 15:25:31 +0100
commit6e2fdc257fe489e770b7be79a87bb18c0a23bb91 (patch)
treec399019cdf301047c0268d83c25afcc39e5c1b3c /core/arch/arm/kernel/thread_private.h
parent7379a3f18a1d8dd71696cf17ed7b125fe6484a3f (diff)
core: thread specific data
Represent thread specific data with struct thread_specific_data. Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/arch/arm/kernel/thread_private.h')
-rw-r--r--core/arch/arm/kernel/thread_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/arch/arm/kernel/thread_private.h b/core/arch/arm/kernel/thread_private.h
index 95cfa286..765a1577 100644
--- a/core/arch/arm/kernel/thread_private.h
+++ b/core/arch/arm/kernel/thread_private.h
@@ -99,7 +99,6 @@ struct thread_ctx {
struct thread_ctx_regs regs;
enum thread_state state;
vaddr_t stack_va_end;
- void *tsd;
uint32_t hyp_clnt_id;
uint32_t flags;
struct core_mmu_user_map user_map;
@@ -113,6 +112,7 @@ struct thread_ctx {
void *rpc_arg;
paddr_t rpc_parg;
struct mutex_head mutexes;
+ struct thread_specific_data tsd;
};
#ifdef ARM64