diff options
author | sashan <sashan@openbsd.org> | 2018-09-10 16:18:34 +0000 |
---|---|---|
committer | sashan <sashan@openbsd.org> | 2018-09-10 16:18:34 +0000 |
commit | 872527097680c6cf1b32ba9c5f884d29604e6659 (patch) | |
tree | 5fb6e1b963d2c04d8bb9031bb9f2096e479721ed /sys/sys/device.h | |
parent | Introduce copy_satopfaddr() (diff) | |
download | wireguard-openbsd-872527097680c6cf1b32ba9c5f884d29604e6659.tar.xz wireguard-openbsd-872527097680c6cf1b32ba9c5f884d29604e6659.zip |
- if_cloners list populated at boot time only then becomes immutable,
so we can let go if_cloners_lock.
OK tb@, claudio@, bluhm@, kn@, henning@
Diffstat (limited to 'sys/sys/device.h')
-rw-r--r-- | sys/sys/device.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/device.h b/sys/sys/device.h index 00a1f6ad2a6..1faa0192a99 100644 --- a/sys/sys/device.h +++ b/sys/sys/device.h @@ -1,4 +1,4 @@ -/* $OpenBSD: device.h,v 1.54 2015/12/11 16:07:02 mpi Exp $ */ +/* $OpenBSD: device.h,v 1.55 2018/09/10 16:18:34 sashan Exp $ */ /* $NetBSD: device.h,v 1.15 1996/04/09 20:55:24 cgd Exp $ */ /* @@ -164,6 +164,11 @@ struct pdevinit { }; #ifdef _KERNEL + +#ifdef DIAGNOSTIC +extern int pdevinit_done; +#endif + extern struct devicelist alldevs; /* list of all devices */ extern int autoconf_verbose; |