Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Make this compile without __HAVE_FA...



details:   https://anonhg.NetBSD.org/src/rev/5f96458427ff
branches:  trunk
changeset: 935555:5f96458427ff
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Jul 06 08:10:57 2020 +0000

description:
Make this compile without __HAVE_FAST_SOFTINTS for debug.

diffstat:

 sys/arch/powerpc/powerpc/intr_stubs.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r c638b15a9307 -r 5f96458427ff sys/arch/powerpc/powerpc/intr_stubs.c
--- a/sys/arch/powerpc/powerpc/intr_stubs.c     Mon Jul 06 07:51:09 2020 +0000
+++ b/sys/arch/powerpc/powerpc/intr_stubs.c     Mon Jul 06 08:10:57 2020 +0000
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: intr_stubs.c,v 1.5 2016/10/19 00:08:42 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr_stubs.c,v 1.6 2020/07/06 08:10:57 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -137,6 +137,7 @@
        return (*powerpc_intrsw->intrsw_splx)(ipl);
 }
 
+#ifdef __HAVE_FAST_SOFTINTS
 void softint_init_md(struct lwp *, u_int, uintptr_t *) __stub;
 
 void
@@ -152,6 +153,7 @@
 {
        (*powerpc_intrsw->intrsw_softint_trigger)(machdep);
 }
+#endif
 
 void intr_cpu_attach(struct cpu_info *) __stub;
 



Home | Main Index | Thread Index | Old Index