summaryrefslogtreecommitdiff
path: root/sys/external/bsd/common/include/linux
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2021-12-19 11:33:09 +0000
committerriastradh <riastradh@NetBSD.org>2021-12-19 11:33:09 +0000
commitcdfe42943664063479cfbe3f1aba4532168139db (patch)
tree605322f8a680cf2cf7c26804bb55d8cf560d705e /sys/external/bsd/common/include/linux
parent0fc25768d22a89a90140b4cbec0c6e29cf61bb35 (diff)
linux: S16_MAX, S32_MAX, S64_MAX
Diffstat (limited to 'sys/external/bsd/common/include/linux')
-rw-r--r--sys/external/bsd/common/include/linux/kernel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/external/bsd/common/include/linux/kernel.h b/sys/external/bsd/common/include/linux/kernel.h
index 77f51257a27..4804f997e46 100644
--- a/sys/external/bsd/common/include/linux/kernel.h
+++ b/sys/external/bsd/common/include/linux/kernel.h
@@ -1,4 +1,4 @@
-/* $NetBSD: kernel.h,v 1.41 2021/12/19 11:14:42 riastradh Exp $ */
+/* $NetBSD: kernel.h,v 1.42 2021/12/19 11:33:09 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -52,6 +52,10 @@
#define U32_MAX UINT32_MAX
#define U64_MAX UINT64_MAX
+#define S16_MAX INT16_MAX
+#define S32_MAX INT32_MAX
+#define S64_MAX INT64_MAX
+
#define oops_in_progress (panicstr != NULL)
#define IS_BUILTIN(option) (1) /* Probably... */