diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-23 10:52:44 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-23 10:52:44 +0000 |
commit | 90ffe301366d97266117c7713a9e2a30bf493161 (patch) | |
tree | 3f0806cd137be0913961e1da8d97faf67b0228e4 /sys/dev | |
parent | c2a21f8a9400a1389362d02e8aa5c242934974b7 (diff) |
Include <sys/atomic.h> when atomic operations are used.
This has been masked because <sys/srp.h> is pulled unconditionally.
ok dlg@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_bge.c | 3 | ||||
-rw-r--r-- | sys/dev/pci/if_vmx.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 7a2ef165601..685282c6326 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.376 2015/11/17 12:30:42 jmatthew Exp $ */ +/* $OpenBSD: if_bge.c,v 1.377 2015/11/23 10:52:43 mpi Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -84,6 +84,7 @@ #include <sys/device.h> #include <sys/timeout.h> #include <sys/socket.h> +#include <sys/atomic.h> #include <net/if.h> #include <net/if_dl.h> diff --git a/sys/dev/pci/if_vmx.c b/sys/dev/pci/if_vmx.c index 0a951a130d8..d0b78603ad4 100644 --- a/sys/dev/pci/if_vmx.c +++ b/sys/dev/pci/if_vmx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vmx.c,v 1.35 2015/11/14 17:54:57 mpi Exp $ */ +/* $OpenBSD: if_vmx.c,v 1.36 2015/11/23 10:52:43 mpi Exp $ */ /* * Copyright (c) 2013 Tsubai Masanari @@ -25,6 +25,7 @@ #include <sys/socket.h> #include <sys/sockio.h> #include <sys/systm.h> +#include <sys/atomic.h> #include <net/bpf.h> #include <net/if.h> |