summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorYang Yingliang2019-06-25 11:40:28 +0200
committerJessica Yu2019-06-26 19:27:59 +0200
commit93651f80dcb616b8c9115cdafc8e57a781af22d0 (patch)
treec2612618459c3b0569a3b3668687dfaec5e7d7cf /drivers/net/ethernet/intel/igc/igc_main.c
parentARM: module: recognize unwind exit sections (diff)
downloadkernel-qcow2-linux-93651f80dcb616b8c9115cdafc8e57a781af22d0.tar.gz
kernel-qcow2-linux-93651f80dcb616b8c9115cdafc8e57a781af22d0.tar.xz
kernel-qcow2-linux-93651f80dcb616b8c9115cdafc8e57a781af22d0.zip
modules: fix compile error if don't have strict module rwx
If CONFIG_ARCH_HAS_STRICT_MODULE_RWX is not defined, we need stub for module_enable_nx() and module_enable_x(). If CONFIG_ARCH_HAS_STRICT_MODULE_RWX is defined, but CONFIG_STRICT_MODULE_RWX is disabled, we need stub for module_enable_nx. Move frob_text() outside of the CONFIG_STRICT_MODULE_RWX, because it is needed anyway. Fixes: 2eef1399a866 ("modules: fix BUG when load module with rodata=n") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions