summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/arm/vm_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c
index 9c43362dbf7f..a4c69379b165 100644
--- a/sys/arm/arm/vm_machdep.c
+++ b/sys/arm/arm/vm_machdep.c
@@ -134,6 +134,7 @@ cpu_fork(register struct thread *td1, register struct proc *p2,
/* Setup to release sched_lock in fork_exit(). */
td2->td_md.md_spinlock_count = 1;
td2->td_md.md_saved_cspr = 0;
+ td2->td_md.md_tp = *(uint32_t **)ARM_TP_ADDRESS;
}
void