From 6decdce59dbd37cc04a72a2187d09ae69fc4e6a1 Mon Sep 17 00:00:00 2001 From: tedu Date: Tue, 16 Dec 2014 21:19:29 +0000 Subject: [PATCH] include atomic.h to get atomic operations (virtio_membar). ok sf --- sys/dev/pci/virtio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include #include +#include #include #include -- 2.20.1