diff options
author | 2015-02-11 07:22:15 +0000 | |
---|---|---|
committer | 2015-02-11 07:22:15 +0000 | |
commit | b958c8f10ec7511a1a353cfb4df8c242a5d815f8 (patch) | |
tree | a49594974b4fd2d28cb87e7d2ac7d3fc4a39759e | |
parent | use a width specifier for lists, and Sq rather than Dq for single letters (diff) | |
download | wireguard-openbsd-b958c8f10ec7511a1a353cfb4df8c242a5d815f8.tar.xz wireguard-openbsd-b958c8f10ec7511a1a353cfb4df8c242a5d815f8.zip |
things that use sys/lock.h want lockmgr locks. things that use
machine/lock.h are architectures for their MD specific things.
sys/lock.h users dont want the MD bits, so dont have it include
machine/lock.h.
ok miod@
-rw-r--r-- | sys/sys/lock.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/sys/lock.h b/sys/sys/lock.h index a893c76d2a8..834abc0431a 100644 --- a/sys/sys/lock.h +++ b/sys/sys/lock.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lock.h,v 1.24 2015/01/30 17:51:11 deraadt Exp $ */ +/* $OpenBSD: lock.h,v 1.25 2015/02/11 07:22:15 dlg Exp $ */ /* * Copyright (c) 1995 @@ -38,10 +38,6 @@ #ifndef _LOCK_H_ #define _LOCK_H_ -#ifdef _KERNEL -#include <machine/lock.h> -#endif - #include <sys/rwlock.h> struct lock { |