artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301aa42
)
include atomic.h to get atomic operations (virtio_membar). ok sf
author
tedu
<tedu@openbsd.org>
Tue, 16 Dec 2014 21:19:29 +0000
(21:19 +0000)
committer
tedu
<tedu@openbsd.org>
Tue, 16 Dec 2014 21:19:29 +0000
(21:19 +0000)
sys/dev/pci/virtio.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/virtio.c
b/sys/dev/pci/virtio.c
index
d8321b8
..
fe9268f
100644
(file)
--- a/
sys/dev/pci/virtio.c
+++ b/
sys/dev/pci/virtio.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: virtio.c,v 1.1
1 2014/10/08 20:03:18 sf Exp $
*/
+/* $OpenBSD: virtio.c,v 1.1
2 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>