diff options
author | hselasky <hselasky@FreeBSD.org> | 2018-02-25 10:24:08 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2018-02-25 10:24:08 +0000 |
commit | 32b86dd3c5a618d959b377409734aed1f457eae4 (patch) | |
tree | 7079fc7a3dd746645b2f693c1654ead52ffd855d | |
parent | 5af639642613a98c643bf97952453e31a42d2226 (diff) | |
download | FreeBSD-src-32b86dd3c5a618d959b377409734aed1f457eae4.zip FreeBSD-src-32b86dd3c5a618d959b377409734aed1f457eae4.tar.gz |
MFC r329466:
Add support for __percpu and __weak macros in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Technologies
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/compiler.h b/sys/compat/linuxkpi/common/include/linux/compiler.h index ae60553..2b9ae10 100644 --- a/sys/compat/linuxkpi/common/include/linux/compiler.h +++ b/sys/compat/linuxkpi/common/include/linux/compiler.h @@ -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__) |