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

Reply via email to