svn commit: r329959 - stable/11/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Sun Feb 25 10:24:09 UTC 2018
Author: hselasky
Date: Sun Feb 25 10:24:08 2018
New Revision: 329959
URL: https://svnweb.freebsd.org/changeset/base/329959
Log:
MFC r329466:
Add support for __percpu and __weak macros in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0 at gmail.com>
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h Sun Feb 25 10:23:23 2018 (r329958)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h Sun Feb 25 10:24:08 2018 (r329959)
@@ -56,6 +56,8 @@
#define __devexit
#define __exit
#define __rcu
+#define __percpu
+#define __weak __weak_symbol
#define __malloc
#define ___stringify(...) #__VA_ARGS__
#define __stringify(...) ___stringify(__VA_ARGS__)
More information about the svn-src-stable
mailing list