summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/arm64/ast.c4
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);