]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'modules-for-v5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 May 2021 16:09:17 +0000 (06:09 -1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 May 2021 16:09:17 +0000 (06:09 -1000)
commitaeae604f3a07a959ff3b48905ab7cb26fd191875
tree0e65f0c6f64bf76da6bf157031e389cdaf5eda19
parentb4d34aed8a1c9b5c43070bc1d1fda5c20194aacd
parent56da677972b2aee44c1d76fdd7993a7092f99a3c
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()