Module Name:    src
Committed By:   rin
Date:           Thu Feb 20 04:59:43 UTC 2020

Modified Files:
        src/sys/arch/powerpc/include: intr.h

Log Message:
Fix !__HAVE_FAST_SOFTINTS build for debugging.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/powerpc/include/intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/intr.h
diff -u src/sys/arch/powerpc/include/intr.h:1.14 src/sys/arch/powerpc/include/intr.h:1.15
--- src/sys/arch/powerpc/include/intr.h:1.14	Thu Oct 24 23:03:35 2019
+++ src/sys/arch/powerpc/include/intr.h	Thu Feb 20 04:59:43 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.14 2019/10/24 23:03:35 macallan Exp $ */
+/*	$NetBSD: intr.h,v 1.15 2020/02/20 04:59:43 rin Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -28,7 +28,7 @@
 
 #ifndef _LOCORE
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.h,v 1.14 2019/10/24 23:03:35 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.h,v 1.15 2020/02/20 04:59:43 rin Exp $");
 #endif
 
 #ifndef _POWERPC_INTR_MACHDEP_H_
@@ -92,8 +92,10 @@ struct intrhand {
 
 void softint_fast_dispatch(struct lwp *, int);
 
+#ifdef __HAVE_FAST_SOFTINTS
 #define softint_init_md		powerpc_softint_init_md
 #define softint_trigger		powerpc_softint_trigger
+#endif
 
 #ifdef __IMASK_T
 typedef __IMASK_T imask_t;

Reply via email to