Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Fix !__HAVE_FAST_SOFTINTS build for...



details:   https://anonhg.NetBSD.org/src/rev/3a1865e3bd11
branches:  trunk
changeset: 744976:3a1865e3bd11
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Feb 20 04:59:43 2020 +0000

description:
Fix !__HAVE_FAST_SOFTINTS build for debugging.

diffstat:

 sys/arch/powerpc/include/intr.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 4eae9822329f -r 3a1865e3bd11 sys/arch/powerpc/include/intr.h
--- a/sys/arch/powerpc/include/intr.h   Thu Feb 20 04:54:47 2020 +0000
+++ b/sys/arch/powerpc/include/intr.h   Thu Feb 20 04:59:43 2020 +0000
@@ -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 @@
 
 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;



Home | Main Index | Thread Index | Old Index