Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci Fix build failure when XNEPV is defined.
details: https://anonhg.NetBSD.org/src/rev/7dcabb54dace
branches: trunk
changeset: 979013:7dcabb54dace
user: knakahara <knakahara%NetBSD.org@localhost>
date: Fri Dec 11 09:22:20 2020 +0000
description:
Fix build failure when XNEPV is defined.
diffstat:
sys/arch/x86/pci/msipic.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r 7efa0bd9e93f -r 7dcabb54dace sys/arch/x86/pci/msipic.c
--- a/sys/arch/x86/pci/msipic.c Fri Dec 11 09:14:19 2020 +0000
+++ b/sys/arch/x86/pci/msipic.c Fri Dec 11 09:22:20 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msipic.c,v 1.24 2020/12/11 07:49:39 knakahara Exp $ */
+/* $NetBSD: msipic.c,v 1.25 2020/12/11 09:22:20 knakahara Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msipic.c,v 1.24 2020/12/11 07:49:39 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msipic.c,v 1.25 2020/12/11 09:22:20 knakahara Exp $");
#include "opt_intrdebug.h"
@@ -548,8 +548,8 @@
pcitag_t tag;
bus_space_tag_t bstag;
bus_space_handle_t bshandle;
+#ifndef XENPV
uint64_t entry_base;
-#ifndef XENPV
pcireg_t addr, data;
#endif
pcireg_t ctl;
@@ -574,9 +574,9 @@
bstag = pic->pic_msipic->mp_bstag;
bshandle = pic->pic_msipic->mp_bshandle;
+#ifndef XENPV
entry_base = PCI_MSIX_TABLE_ENTRY_SIZE * msix_vec;
-#ifndef XENPV
/*
* See Intel 64 and IA-32 Architectures Software Developer's Manual
* Volume 3 10.11 Message Signalled Interrupts.
Home |
Main Index |
Thread Index |
Old Index