svn commit: r329466 - head/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Sat Feb 17 20:50:19 UTC 2018


Author: hselasky
Date: Sat Feb 17 20:50:18 2018
New Revision: 329466
URL: https://svnweb.freebsd.org/changeset/base/329466

Log:
  Add support for __percpu and __weak macros in the LinuxKPI.
  
  MFC after:	1 week
  Submitted by:	Johannes Lundberg <johalun0 at gmail.com>
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/compiler.h

Modified: head/sys/compat/linuxkpi/common/include/linux/compiler.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/compiler.h	Sat Feb 17 20:37:21 2018	(r329465)
+++ head/sys/compat/linuxkpi/common/include/linux/compiler.h	Sat Feb 17 20:50:18 2018	(r329466)
@@ -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-head mailing list