diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-21 19:09:17 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-21 19:09:17 +0300 |
commit | c1f47ebc9b246e36afaa339cc5ca7ad9d3ae71b2 (patch) | |
tree | 0e65f0c6f64bf76da6bf157031e389cdaf5eda19 /arch | |
parent | 93bb533a340bde2065ecdd8694c8d1852537edd2 (diff) | |
parent | 055f23b74b20f2824ce33047b4cf2e2aa856bf3b (diff) | |
download | linux-c1f47ebc9b246e36afaa339cc5ca7ad9d3ae71b2.tar.xz |
Merge tag 'modules-for-v5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
Pull module fix from Jessica Yu:
"When CONFIG_MODULE_UNLOAD=n, module exit sections get sorted into the
init region of the module in order to satisfy the requirements of
jump_labels and static_calls.
Previously, the exit section check was done in module_init_section(),
but the solution there is not completely arch-indepedent as ARM is a
special case and supplies its own module_init_section() function.
Instead of pushing this logic further to the arch-specific code,
switch to an arch-independent solution to check for module exit
sections in the core module loader code in layout_sections() instead"
* tag 'modules-for-v5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
module: check for exit sections in layout_sections() instead of module_init_section()
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions