summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gerdts <mike.gerdts@joyent.com>2020-03-04 15:08:56 +0000
committerMike Gerdts <mike.gerdts@joyent.com>2020-03-04 15:08:56 +0000
commit5c2ac672f4115028dc2f4eaf326129860cca521b (patch)
treeefb016818a027f1b4f73cb86c6a49b7006036be8
parent4672be612c493e5ceec30f988e7e17b2ff068060 (diff)
downloadillumos-joyent-5c2ac672f4115028dc2f4eaf326129860cca521b.tar.gz
move a comment to reduce delta from upstreamOS-6632
-rw-r--r--usr/src/cmd/bhyve/virtio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/bhyve/virtio.h b/usr/src/cmd/bhyve/virtio.h
index 7420cfa876..8794804e5d 100644
--- a/usr/src/cmd/bhyve/virtio.h
+++ b/usr/src/cmd/bhyve/virtio.h
@@ -428,6 +428,10 @@ vq_has_descs(struct vqueue_info *vq)
vq->vq_avail->va_idx);
}
+/*
+ * Deliver an interrupt to guest on the given virtual queue
+ * (if possible, or a generic MSI interrupt if not using MSI-X).
+ */
#ifdef __FreeBSD__
static inline void
vq_interrupt(struct virtio_softc *vs, struct vqueue_info *vq)
@@ -467,10 +471,6 @@ vq_interrupt_impl(struct virtio_softc *vs, uint8_t isr, uint16_t msix_idx)
}
#ifndef __FreeBSD__
-/*
- * Deliver an interrupt to guest on the given virtual queue
- * (if possible, or a generic MSI interrupt if not using MSI-X).
- */
static inline void
vq_interrupt(struct virtio_softc *vs, struct vqueue_info *vq)
{