Module Name: src
Committed By: riastradh
Date: Sun Dec 19 11:33:09 UTC 2021
Modified Files:
src/sys/external/bsd/common/include/linux: kernel.h
Log Message:
linux: S16_MAX, S32_MAX, S64_MAX
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/external/bsd/common/include/linux/kernel.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/common/include/linux/kernel.h
diff -u src/sys/external/bsd/common/include/linux/kernel.h:1.41 src/sys/external/bsd/common/include/linux/kernel.h:1.42
--- src/sys/external/bsd/common/include/linux/kernel.h:1.41 Sun Dec 19 11:14:42 2021
+++ src/sys/external/bsd/common/include/linux/kernel.h Sun Dec 19 11:33:09 2021
@@ -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... */