From 80ebcb8b418bc1316ef2190674e7ec724d3df58d Mon Sep 17 00:00:00 2001 From: miod Date: Fri, 17 Mar 2023 19:20:19 +0000 Subject: [PATCH] Move annoying yet harmless diagnostic message into #ifdef DEBUG. --- sys/arch/alpha/alpha/vm_machdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/alpha/alpha/vm_machdep.c b/sys/arch/alpha/alpha/vm_machdep.c index dc093c45c42..f034c3786ce 100644 --- a/sys/arch/alpha/alpha/vm_machdep.c +++ b/sys/arch/alpha/alpha/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.49 2022/10/25 15:15:38 guenther Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.50 2023/03/17 19:20:19 miod Exp $ */ /* $NetBSD: vm_machdep.c,v 1.55 2000/03/29 03:49:48 simonb Exp $ */ /* @@ -133,8 +133,10 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack, void *tcb, */ if (p1 != curproc && p1 != &proc0) panic("cpu_fork: curproc"); +#ifdef DEBUG if ((up->u_pcb.pcb_hw.apcb_flags & ALPHA_PCB_FLAGS_FEN) != 0) printf("DANGER WILL ROBINSON: FEN SET IN cpu_fork!\n"); +#endif #endif /* -- 2.20.1