summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/utilities/hv_shutdown.c
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-17 03:48:22 +0000
committersephe <sephe@FreeBSD.org>2016-10-17 03:48:22 +0000
commite37bb2a12aa175fcf49659bd1660ad3eec33f260 (patch)
treeced8d865d34cd078316b670dc30ba0405d9a09ab /sys/dev/hyperv/utilities/hv_shutdown.c
parentd64ccac3634c24766c2feab6e8c2b0b1ef9061b0 (diff)
downloadFreeBSD-src-e37bb2a12aa175fcf49659bd1660ad3eec33f260.zip
FreeBSD-src-e37bb2a12aa175fcf49659bd1660ad3eec33f260.tar.gz
MFC 303421,303422,303470-303473
303421 hyperv/vmbus: Avoid unnecessary mb() Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7333 303422 hyperv/vmbus: Inclusion cleanup Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7334 303470 hyperv/vmbus: Reindent function declarations. Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7344 303471 hyperv/vmbus: Forward declare static functions Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7346 303472 hyperv/vmbus: Move driver glue to the beginning of the files Just as most of other drivers do. And move sysinit function close to its SYSINIT. Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7347 303473 hyperv/vmbus: Revoke unnecessary exposure of vmbus softc Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7348
Diffstat (limited to 'sys/dev/hyperv/utilities/hv_shutdown.c')
-rw-r--r--sys/dev/hyperv/utilities/hv_shutdown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hyperv/utilities/hv_shutdown.c b/sys/dev/hyperv/utilities/hv_shutdown.c
index 521b2da..1dae122 100644
--- a/sys/dev/hyperv/utilities/hv_shutdown.c
+++ b/sys/dev/hyperv/utilities/hv_shutdown.c
@@ -38,6 +38,7 @@
#include <sys/reboot.h>
#include <sys/timetc.h>
#include <sys/syscallsubr.h>
+#include <sys/systm.h>
#include <dev/hyperv/include/hyperv.h>
#include <dev/hyperv/include/vmbus.h>
OpenPOWER on IntegriCloud