freebsd-dev/sys
John Baldwin e28024fbad Fix build with DRM and INVARIANTS enabled.
The DRM drivers use the lockdep assertion macros with spinlock_t locks
which are backed by mutexes, not sx locks.  This causes compile
failures since you can't use sx_assert with a mutex.  Instead, change
the lockdep macros to use lock_class methods.  This works by assuming
that each LinuxKPI locking primitive embeds a FreeBSD lock as its
first structure and uses a cast to get to the underlying 'struct
lock_object'.

Reviewed by:	hselasky
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D20992
2019-08-13 21:15:59 +00:00
..
amd64 sys/{x86,amd64}: remove one of doubled ;s 2019-08-13 19:39:36 +00:00
arm Floppy driver really only works on x86 2019-08-12 22:58:50 +00:00
arm64 ukbdmap.h rule was identical on all platforms, so move them into sys/conf/files. 2019-08-12 23:25:14 +00:00
bsm
cam
cddl MFV r350896: 6585 sha512, skein, and edonr have an unenforced dependency on extensible dataset 2019-08-12 11:42:16 +00:00
compat Fix build with DRM and INVARIANTS enabled. 2019-08-13 21:15:59 +00:00
conf Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
contrib Initialize the frentry (the control block that defines a rule) checksum 2019-08-12 02:42:47 +00:00
crypto armv8crypto: add missing unlock for session (after r336439) 2019-08-08 14:34:53 +00:00
ddb
dev Add PNP_INFO to the gpiopps driver. 2019-08-13 15:38:05 +00:00
dts
fs
gdb
geom Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
gnu
i386 Start to split out the really x86 specific NOTES from the global notes file. 2019-08-12 22:58:13 +00:00
isa
kern Move scheduler state into the per-cpu area where it can be allocated on the 2019-08-13 04:54:02 +00:00
kgssapi
libkern
mips
modules Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
net
net80211
netgraph
netinet Save ip_ttl value and restore it after checksum calculation. 2019-08-13 12:47:53 +00:00
netinet6 frag6: move public structure into file local space. 2019-08-08 10:59:54 +00:00
netipsec Add missing new line in several log messages. 2019-08-09 08:58:09 +00:00
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Fix powerpc LINT build 2019-08-12 23:25:21 +00:00
riscv
rpc
security Fix mac_veriexec_parser build after r347938 2019-08-08 16:51:49 +00:00
sparc64 Floppy driver really only works on x86 2019-08-12 22:58:50 +00:00
sys Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
teken
tests
tools
ufs Clarify comment that describes how the FS_METACKHASH is managed. 2019-08-13 20:56:44 +00:00
vm Fix stack grow for init. 2019-08-08 16:48:19 +00:00
x86 sys/{x86,amd64}: remove one of doubled ;s 2019-08-13 19:39:36 +00:00
xdr
xen
Makefile