Make this compile without __HAVE_FAST_SOFTINTS for debug.

This commit is contained in:
rin 2020-07-06 08:10:57 +00:00
parent 4bf04a2ac7
commit 01e8065fe4
1 changed files with 3 additions and 1 deletions

View File

@ -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 @@ splx(int ipl)
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 @@ softint_trigger(uintptr_t machdep)
{
(*powerpc_intrsw->intrsw_softint_trigger)(machdep);
}
#endif
void intr_cpu_attach(struct cpu_info *) __stub;