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 <johal...@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__)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to