diff options
author | 2014-12-16 21:19:29 +0000 | |
---|---|---|
committer | 2014-12-16 21:19:29 +0000 | |
commit | 6decdce59dbd37cc04a72a2187d09ae69fc4e6a1 (patch) | |
tree | 6e86bc79efb35e77a7c129ac0eeba9a9226e007b | |
parent | Define and print HV cpuid flag. (diff) | |
download | wireguard-openbsd-6decdce59dbd37cc04a72a2187d09ae69fc4e6a1.tar.xz wireguard-openbsd-6decdce59dbd37cc04a72a2187d09ae69fc4e6a1.zip |
include atomic.h to get atomic operations (virtio_membar). ok sf
-rw-r--r-- | sys/dev/pci/virtio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/virtio.c b/sys/dev/pci/virtio.c index d8321b8caa5..fe9268fe4fa 100644 --- a/sys/dev/pci/virtio.c +++ b/sys/dev/pci/virtio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: virtio.c,v 1.11 2014/10/08 20:03:18 sf Exp $ */ +/* $OpenBSD: virtio.c,v 1.12 2014/12/16 21:19:29 tedu Exp $ */ /* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */ /* @@ -32,6 +32,7 @@ #include <sys/kernel.h> #include <sys/device.h> #include <sys/mutex.h> +#include <sys/atomic.h> #include <dev/pci/pcidevs.h> #include <dev/pci/pcireg.h> |