Module Name: src Committed By: ryo Date: Thu Nov 22 08:30:58 UTC 2018
Modified Files: src/lib/libc/arch/aarch64/sys: __clone.S Log Message: fix condition code. x1==0 is parent. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/aarch64/sys/__clone.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/arch/aarch64/sys/__clone.S diff -u src/lib/libc/arch/aarch64/sys/__clone.S:1.1 src/lib/libc/arch/aarch64/sys/__clone.S:1.2 --- src/lib/libc/arch/aarch64/sys/__clone.S:1.1 Sun Aug 10 05:47:37 2014 +++ src/lib/libc/arch/aarch64/sys/__clone.S Thu Nov 22 08:30:58 2018 @@ -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 @@ ENTRY(__clone) * 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