Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/aarch64/sys fix condition code. x1==0 is parent.
details: https://anonhg.NetBSD.org/src/rev/894ad6d02f1b
branches: trunk
changeset: 994794:894ad6d02f1b
user: ryo <ryo%NetBSD.org@localhost>
date: Thu Nov 22 08:30:58 2018 +0000
description:
fix condition code. x1==0 is parent.
diffstat:
lib/libc/arch/aarch64/sys/__clone.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 24a437e3d480 -r 894ad6d02f1b lib/libc/arch/aarch64/sys/__clone.S
--- a/lib/libc/arch/aarch64/sys/__clone.S Thu Nov 22 07:37:12 2018 +0000
+++ b/lib/libc/arch/aarch64/sys/__clone.S Thu Nov 22 08:30:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __clone.S,v 1.1 2014/08/10 05:47:37 matt Exp $ */
+/* $NetBSD: __clone.S,v 1.2 2018/11/22 08:30:58 ryo Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
* x0 == pid of child in parent, x0 == pid of parent in child.
*/
/* if this is the parent then just return the pid */
- cbnz x1, 1f
+ cbz x1, 1f
/*
* This is the child
Home |
Main Index |
Thread Index |
Old Index