From: tedu Date: Tue, 16 Dec 2014 21:19:29 +0000 (+0000) Subject: include atomic.h to get atomic operations (virtio_membar). ok sf X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6decdce59dbd37cc04a72a2187d09ae69fc4e6a1;p=openbsd include atomic.h to get atomic operations (virtio_membar). ok sf --- 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