diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-06-22 15:33:34 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-06-22 15:33:34 +0000 |
commit | f53725cab046e94f478bba6eb1cd63a0ad2637b5 (patch) | |
tree | 5715268b0791ddc99476e875e79ad4902386d429 /sys | |
parent | 65f779528f3767154d18c6c91b39777c1f10082f (diff) |
Update the pointer to the trapframe in the PCB when handling an AST.
From drahn@, ok guenther@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm64/arm64/ast.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm64/arm64/ast.c b/sys/arch/arm64/arm64/ast.c index dc5586ff085..57f6b0c3f3f 100644 --- a/sys/arch/arm64/arm64/ast.c +++ b/sys/arch/arm64/arm64/ast.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ast.c,v 1.5 2018/04/12 17:13:43 deraadt Exp $ */ +/* $OpenBSD: ast.c,v 1.6 2018/06/22 15:33:33 kettenis Exp $ */ /* * Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com> * @@ -41,6 +41,8 @@ ast(struct trapframe *tf) p->p_md.md_astpending = 0; + p->p_addr->u_pcb.pcb_tf = tf; + refreshcreds(p); uvmexp.softs++; mi_ast(p, curcpu()->ci_want_resched); |