svn commit: r362320 - in stable/11/sys: compat/linuxkpi/common/include/linux sys
Hans Petter Selasky
hselasky at FreeBSD.org
Thu Jun 18 10:50:59 UTC 2020
Author: hselasky
Date: Thu Jun 18 10:50:59 2020
New Revision: 362320
URL: https://svnweb.freebsd.org/changeset/base/362320
Log:
MFC r361724:
Implement __is_constexpr() function macro in the LinuxKPI.
Bump the FreeBSD version.
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/compat/linuxkpi/common/include/linux/kernel.h
stable/11/sys/sys/param.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/compat/linuxkpi/common/include/linux/kernel.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/kernel.h Thu Jun 18 10:49:49 2020 (r362319)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/kernel.h Thu Jun 18 10:50:59 2020 (r362320)
@@ -533,4 +533,7 @@ linux_ratelimited(linux_ratelimit_t *rl)
((num) > __max) ? SIZE_MAX : (__size + sizeof((ptr)->field[0]) * (num)); \
})
+#define __is_constexpr(x) \
+ __builtin_constant_p(x)
+
#endif /* _LINUX_KERNEL_H_ */
Modified: stable/11/sys/sys/param.h
==============================================================================
--- stable/11/sys/sys/param.h Thu Jun 18 10:49:49 2020 (r362319)
+++ stable/11/sys/sys/param.h Thu Jun 18 10:50:59 2020 (r362320)
@@ -58,7 +58,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1104500 /* Master, propagated to newvers */
+#define __FreeBSD_version 1104501 /* Master, propagated to newvers */
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
More information about the svn-src-stable-11
mailing list