Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/common/include/linux linux: S16_MAX, S32_MA...



details:   https://anonhg.NetBSD.org/src/rev/6267bf34c102
branches:  trunk
changeset: 1028635:6267bf34c102
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:33:09 2021 +0000

description:
linux: S16_MAX, S32_MAX, S64_MAX

diffstat:

 sys/external/bsd/common/include/linux/kernel.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b49cec58cbcc -r 6267bf34c102 sys/external/bsd/common/include/linux/kernel.h
--- a/sys/external/bsd/common/include/linux/kernel.h    Sun Dec 19 11:33:02 2021 +0000
+++ b/sys/external/bsd/common/include/linux/kernel.h    Sun Dec 19 11:33:09 2021 +0000
@@ -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... */



Home | Main Index | Thread Index | Old Index