summaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/hypervvar.h
diff options
context:
space:
mode:
authoryamaguchi <yamaguchi@NetBSD.org>2021-12-23 04:06:51 +0000
committeryamaguchi <yamaguchi@NetBSD.org>2021-12-23 04:06:51 +0000
commite166e806965eb2fd88a3729c7ddec8bdfc7d7af7 (patch)
tree8dba1add17d88019eaba3252b80be197a9d89806 /sys/dev/hyperv/hypervvar.h
parentb0e9d05fb6133db2b23e55f404fe3b3b93219bad (diff)
hyper-v: move idt vector allocating to vmbus_init_interrupts_md()
for refactoring And, the deallocating is also moved to vmbus_deinit_interrupts_md(). reviewed by nonaka@n.o.
Diffstat (limited to 'sys/dev/hyperv/hypervvar.h')
-rw-r--r--sys/dev/hyperv/hypervvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/hyperv/hypervvar.h b/sys/dev/hyperv/hypervvar.h
index 2ee80974be5..3c7eb420f8c 100644
--- a/sys/dev/hyperv/hypervvar.h
+++ b/sys/dev/hyperv/hypervvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hypervvar.h,v 1.4 2019/12/10 12:20:20 nonaka Exp $ */
+/* $NetBSD: hypervvar.h,v 1.5 2021/12/23 04:06:51 yamaguchi Exp $ */
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -68,8 +68,8 @@ void hyperv_intr(void);
uint32_t hyperv_get_vcpuid(cpuid_t);
struct vmbus_softc;
-void vmbus_init_interrupts_md(struct vmbus_softc *);
-void vmbus_deinit_interrupts_md(struct vmbus_softc *);
+void vmbus_init_interrupts_md(struct vmbus_softc *, cpuid_t);
+void vmbus_deinit_interrupts_md(struct vmbus_softc *, cpuid_t);
void vmbus_init_synic_md(struct vmbus_softc *, cpuid_t);
void vmbus_deinit_synic_md(struct vmbus_softc *, cpuid_t);