[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-kern
Subject: [PATCH] x86/intr.c: fix build if NO_PCI_MSI_MSIX is defined
From: Paolo Pisati <p.pisati () gmail ! com>
Date: 2024-04-24 15:49:33
Message-ID: 20240424154933.367833-1-p.pisati () gmail ! com
[Download RAW message or body]
...
/home/flag/bsd/netbsd/src/sys/arch/x86/x86/intr.c: In function 'intr_create_intrid':
/home/flag/bsd/netbsd/src/sys/arch/x86/x86/intr.c:315:34: error: 'MSI_INT_DEV_MASK' \
undeclared (first use in this function) 315 | pih = __SHIFTIN((uint64_t)dev, \
MSI_INT_DEV_MASK) | ^~~~~~~~~~~~~~~~
...
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
---
sys/arch/x86/x86/intr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/arch/x86/x86/intr.c b/sys/arch/x86/x86/intr.c
index a94ea7f17707..beb3dab5673b 100644
--- a/sys/arch/x86/x86/intr.c
+++ b/sys/arch/x86/x86/intr.c
@@ -138,6 +138,7 @@ __KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.167 2024/03/05 20:58:05 \
andvar Exp $"); #include "opt_intrdebug.h"
#include "opt_multiprocessor.h"
#include "opt_acpi.h"
+#include "opt_pci.h"
#include <sys/param.h>
#include <sys/systm.h>
--
2.34.1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic