diff options
Diffstat (limited to 'libcpu/arm/cortex-a/trap.c')
| -rw-r--r-- | libcpu/arm/cortex-a/trap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/arm/cortex-a/trap.c b/libcpu/arm/cortex-a/trap.c index 425e51b9d0..0aafa55968 100644 --- a/libcpu/arm/cortex-a/trap.c +++ b/libcpu/arm/cortex-a/trap.c @@ -50,12 +50,12 @@ int check_user_stack(struct rt_hw_exp_stack *regs) if ((dfar >= (void *)USER_STACK_VSTART) && (dfar < (void *)USER_STACK_VEND)) { - struct rt_mm_fault_msg msg = { + struct rt_aspace_fault_msg msg = { .fault_op = MM_FAULT_OP_WRITE, .fault_type = MM_FAULT_TYPE_PAGE_FAULT, - .vaddr = dfar, + .fault_vaddr = dfar, }; - if (rt_mm_fault_try_fix(&msg)) + if (rt_aspace_fault_try_fix(&msg)) { regs->pc -= 8; return 1; |
