aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-03-04 18:19:44 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-03-04 18:19:44 +0000
commit20c8d8270c34016203a143f80fa6690f554bff24 (patch)
tree32635a4b02473a73ea93f6fbe4d434f5b6b9d71d /sys/compat/linuxkpi/common/include/linux
parent6c51dfb060f7815b562b1c9d89525e4c878c8d9b (diff)
Notes
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h
index 50533308757e..491199e0f48f 100644
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -86,6 +86,7 @@
#define S64_C(x) x ## LL
#define U64_C(x) x ## ULL
+#define BUILD_BUG() CTASSERT(0)
#define BUILD_BUG_ON(x) CTASSERT(!(x))
#define BUILD_BUG_ON_MSG(x, msg) BUILD_BUG_ON(x)
#define BUILD_BUG_ON_NOT_POWER_OF_2(x) BUILD_BUG_ON(!powerof2(x))