Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/fpu Unconditionally include <sys/systm.h> f...



details:   https://anonhg.NetBSD.org/src/rev/3814123baad1
branches:  trunk
changeset: 369866:3814123baad1
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Sep 04 22:34:58 2022 +0000

description:
Unconditionally include <sys/systm.h> for KASSERT{,MSG}().
Fix (!DIAGNOSTIC && !DEBUG) build.

diffstat:

 sys/arch/powerpc/fpu/fpu_subr.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r d21ff06d1cd9 -r 3814123baad1 sys/arch/powerpc/fpu/fpu_subr.c
--- a/sys/arch/powerpc/fpu/fpu_subr.c   Sun Sep 04 21:56:38 2022 +0000
+++ b/sys/arch/powerpc/fpu/fpu_subr.c   Sun Sep 04 22:34:58 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_subr.c,v 1.7 2022/09/02 12:29:58 rin Exp $ */
+/*     $NetBSD: fpu_subr.c,v 1.8 2022/09/04 22:34:58 rin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,12 +45,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_subr.c,v 1.7 2022/09/02 12:29:58 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_subr.c,v 1.8 2022/09/04 22:34:58 rin Exp $");
 
 #include <sys/types.h>
-#if defined(DIAGNOSTIC)||defined(DEBUG)
 #include <sys/systm.h>
-#endif
 
 #include <powerpc/instr.h>
 #include <machine/fpu.h>



Home | Main Index | Thread Index | Old Index