summaryrefslogtreecommitdiffstats
path: root/sys/arm/arm/vm_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/arm/vm_machdep.c')
-rw-r--r--sys/arm/arm/vm_machdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c
index 6bd5799..1a907cc 100644
--- a/sys/arm/arm/vm_machdep.c
+++ b/sys/arm/arm/vm_machdep.c
@@ -119,6 +119,9 @@ cpu_fork(register struct thread *td1, register struct proc *p2,
#ifdef __XSCALE__
#ifndef CPU_XSCALE_CORE3
pmap_use_minicache(td2->td_kstack, td2->td_kstack_pages * PAGE_SIZE);
+ if (td2->td_altkstack)
+ pmap_use_minicache(td2->td_altkstack, td2->td_altkstack_pages *
+ PAGE_SIZE);
#endif
#endif
td2->td_pcb = pcb2;
OpenPOWER on IntegriCloud