From 5c2ac672f4115028dc2f4eaf326129860cca521b Mon Sep 17 00:00:00 2001 From: Mike Gerdts Date: Wed, 4 Mar 2020 15:08:56 +0000 Subject: move a comment to reduce delta from upstream --- usr/src/cmd/bhyve/virtio.h | 8 ++++---- 1 file 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) { -- cgit v1.2.3