Date: Sat, 17 Feb 2018 20:50:18 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329466 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201802172050.w1HKoIl6049478@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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__)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802172050.w1HKoIl6049478>