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 libkern min/max is 32-...
details: https://anonhg.NetBSD.org/src/rev/fed9e8edc061
branches: trunk
changeset: 365207:fed9e8edc061
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 06 00:30:33 2018 +0000
description:
libkern min/max is 32-bit. Linux min/max is generic. @!*#@!$&
XXX pullup
diffstat:
sys/external/bsd/common/include/linux/kernel.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 23986684c2cb -r fed9e8edc061 sys/external/bsd/common/include/linux/kernel.h
--- a/sys/external/bsd/common/include/linux/kernel.h Mon Aug 06 00:30:24 2018 +0000
+++ b/sys/external/bsd/common/include/linux/kernel.h Mon Aug 06 00:30:33 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kernel.h,v 1.8 2015/08/20 21:41:12 skrll Exp $ */
+/* $NetBSD: kernel.h,v 1.9 2018/08/06 00:30:33 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -59,6 +59,9 @@
#define uninitialized_var(x) x = 0
/* XXX These will multiply evaluate their arguments. */
+#define min(X, Y) MIN(X, Y)
+#define max(X, Y) MAX(X, Y)
+
#define max_t(T, X, Y) MAX(X, Y)
#define min_t(T, X, Y) MIN(X, Y)
Home |
Main Index |
Thread Index |
Old Index