From 470043df5a59613d08c5ef8a9153e75eb2bdd99c Mon Sep 17 00:00:00 2001 From: aoyama Date: Mon, 8 Aug 2022 11:27:18 +0000 Subject: [PATCH] Change branch condition inverted to realize original intention in comment. Found by Tetsuya Isaki at NetBSD and nono project, during investigating work-in-progress NetBSD/luna88k. It originally comes from Mach luna88k port, more than 30 years ago:-) Tested by me, "That's much better!" miod@ --- sys/arch/luna88k/luna88k/locore0.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/luna88k/luna88k/locore0.S b/sys/arch/luna88k/luna88k/locore0.S index d41d172bc97..93fb93c0ff5 100644 --- a/sys/arch/luna88k/luna88k/locore0.S +++ b/sys/arch/luna88k/luna88k/locore0.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore0.S,v 1.3 2021/07/25 07:12:51 aoyama Exp $ */ +/* $OpenBSD: locore0.S,v 1.4 2022/08/08 11:27:18 aoyama Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -151,7 +151,7 @@ ASLOCAL(main_start) or %r2, %r0, %lo16(1000) 3: subu %r2, %r2, 1 - bcnd eq0, %r2, 3b + bcnd ne0, %r2, 3b br 1b /* looks clear -- try to grab */ 4: /* now try to grab the master_mpu prize */ -- 2.20.1