freebsd-skq/sys
Bjoern A. Zeeb 1082490cd8 LinuxKPI: change BUILD_BUG_ON()
BUILD_BUG_ON() can be used inside functions where the definition to
CTASSERT() (_Static_assert()) seems to not work.
Go back to an old-style CTASSERT() implementation but also add a
variable dclaration to avoid "unsued typedef" errors and dummy-use
the variable to avoid "unusued variable" errors.  Given it is all
self-contained in a block and not used outside this should be
optimised away.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Reviewed by:	hselasky
Differential Revision: https://reviews.freebsd.org/D30431
2021-05-25 18:01:47 +00:00
..
amd64 amd64: clear PSL.AC in the right frame 2021-05-25 18:20:46 +03:00
arm arm: RPI-B: Add ext_resources driver 2021-05-24 12:53:00 +02:00
arm64 arm64, riscv: remove reference to fsu_intr_fault 2021-05-25 12:26:52 -03:00
bsm
cam cam_sim: style: sort includes 2021-05-25 09:56:56 -06:00
cddl
compat LinuxKPI: change BUILD_BUG_ON() 2021-05-25 18:01:47 +00:00
conf mmc: Only build mmc_fdt_helper and mmc_pwrseq for arch that uses ext_resources 2021-05-21 19:35:20 +02:00
contrib sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
crypto
ddb
dev cxgbe(4): Overhaul CLIP (Compressed Local IPv6) table management. 2021-05-23 16:07:29 -07:00
dts arm64: rockchip: Add some DTSO to disable sd/mmc 2021-05-13 18:15:31 +02:00
fs nfscl: Add hash lists for the NFSv4 opens 2021-05-22 14:53:56 -07:00
gdb
geom
gnu
i386 sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
isa
kern Clean up some of the core dumping code. 2021-05-25 16:30:32 +01:00
kgssapi
libkern
mips [ar71xx] During reset, don't spin, just keep trying 2021-05-22 15:53:00 -07:00
modules modules: Only build sdhci_fdt for arm and arm64 2021-05-13 20:23:59 +02:00
net pf: Track the original kif for floating states 2021-05-20 12:49:27 +02:00
net80211
netgraph Fix packet cbs/ebs conversion. 2021-05-19 11:04:08 -04:00
netinet tcp: enter network epoch when calling tfb_tcp_fb_fini 2021-05-25 13:45:37 -04:00
netinet6 Fix mbuf leaks in various pru_send implementations 2021-05-12 13:00:09 -04:00
netipsec
netpfil pf: fix ioctl() memory leak 2021-05-24 15:56:24 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto cryptodev: Fix some input validation bugs 2021-05-11 17:36:12 -04:00
powerpc cam: clear on-stack CCBs in last few drivers 2021-05-21 08:53:59 +01:00
riscv arm64, riscv: remove reference to fsu_intr_fault 2021-05-25 12:26:52 -03:00
rpc
security
sys sys_process.c: extract ptrace_unsuspend() 2021-05-25 18:22:27 +03:00
teken
tests
tools makesyscalls.lua: improve generated file style(9) compliance 2021-05-13 13:59:25 -04:00
ufs Move mnt_maxsymlinklen into appropriate fs mount data structures 2021-05-22 15:16:09 +03:00
vm vm: add another pager private flag 2021-05-15 20:47:29 +00:00
x86 x86/xen: further PVHv1 removal cleanup 2021-05-18 10:43:31 +02:00
xdr
xen x86/xen: remove PVHv1 code 2021-05-17 11:41:21 +02:00
Makefile