diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2023-03-17 19:20:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2023-03-17 19:20:20 +0000 |
commit | d3abc6ad2238a12b3cb551a6788711eedd2b18da (patch) | |
tree | ccb7eacef0f262344ab2d3cc5d93c27b8d9de670 /sys/arch/alpha | |
parent | 347a8d774a0123c261458067387b56f9e404b209 (diff) |
Move annoying yet harmless diagnostic message into #ifdef DEBUG.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/vm_machdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
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,9 +133,11 @@ 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 /* * create the child's kernel stack, from scratch. |