Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 add missing userret() at the end of...



details:   https://anonhg.NetBSD.org/src/rev/f1e21ec3ee5c
branches:  trunk
changeset: 455684:f1e21ec3ee5c
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Apr 10 06:30:05 2019 +0000

description:
add missing userret() at the end of md_child_return().
this change make some ATF to pass.

diffstat:

 sys/arch/aarch64/aarch64/syscall.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r b0ce82cc689e -r f1e21ec3ee5c sys/arch/aarch64/aarch64/syscall.c
--- a/sys/arch/aarch64/aarch64/syscall.c        Wed Apr 10 06:13:21 2019 +0000
+++ b/sys/arch/aarch64/aarch64/syscall.c        Wed Apr 10 06:30:05 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.5 2019/04/06 11:54:19 kamil Exp $        */
+/*     $NetBSD: syscall.c,v 1.6 2019/04/10 06:30:05 ryo Exp $  */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
 #define EMULNAME(x)    (x)
 #define EMULNAMEU(x)   (x)
 
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.5 2019/04/06 11:54:19 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.6 2019/04/10 06:30:05 ryo Exp $");
 
 void
 cpu_spawn_return(struct lwp *l)
@@ -79,6 +79,8 @@
        tf->tf_reg[1] = 1;
        tf->tf_spsr &= ~NZCV_C;
        l->l_md.md_cpacr = CPACR_FPEN_NONE;
+
+       userret(l);
 }
 #endif
 



Home | Main Index | Thread Index | Old Index