aboutsummaryrefslogtreecommitdiff
path: root/linux-user/aarch64/target_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/aarch64/target_cpu.h')
-rw-r--r--linux-user/aarch64/target_cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/aarch64/target_cpu.h b/linux-user/aarch64/target_cpu.h
index 21560ef832..b5593dc5ad 100644
--- a/linux-user/aarch64/target_cpu.h
+++ b/linux-user/aarch64/target_cpu.h
@@ -32,7 +32,7 @@ static inline void cpu_set_tls(CPUARMState *env, target_ulong newtls)
/* Note that AArch64 Linux keeps the TLS pointer in TPIDR; this is
* different from AArch32 Linux, which uses TPIDRRO.
*/
- env->cp15.tpidr_el0 = newtls;
+ env->cp15.tpidr_el[0] = newtls;
}
#endif