diff options
author | 2019-09-09 19:53:16 +0900 | |
---|---|---|
committer | 2019-09-10 23:51:05 +0900 | |
commit | a0469f989fe1d051820cda7ead496f1a7371f3d8 (patch) | |
tree | 8de56026595dde0c6b4f006ce21011fedb13ea69 /scripts/gdb/linux/utils.py | |
parent | kbuild: allow Clang to find unused static inline functions for W=1 build (diff) | |
download | wireguard-linux-a0469f989fe1d051820cda7ead496f1a7371f3d8.tar.xz wireguard-linux-a0469f989fe1d051820cda7ead496f1a7371f3d8.zip |
export.h: remove defined(__KERNEL__), which is no longer needed
The conditional, define(__KERNEL__), was added by commit f235541699bc
("export.h: allow for per-symbol configurable EXPORT_SYMBOL()").
It was needed at that time to avoid the build error of modpost
with CONFIG_TRIM_UNUSED_KSYMS=y.
Since commit b2c5cdcfd4bc ("modpost: remove symbol prefix support"),
modpost no longer includes linux/export.h, thus the define(__KERNEL__)
is unneeded.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions