Commit c1f47eb
committed
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()1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2401 | 2401 | | |
2402 | 2402 | | |
2403 | 2403 | | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
2404 | 2413 | | |
2405 | 2414 | | |
2406 | 2415 | | |
| |||
2435 | 2444 | | |
2436 | 2445 | | |
2437 | 2446 | | |
2438 | | - | |
| 2447 | + | |
2439 | 2448 | | |
2440 | 2449 | | |
2441 | 2450 | | |
| |||
2468 | 2477 | | |
2469 | 2478 | | |
2470 | 2479 | | |
2471 | | - | |
| 2480 | + | |
2472 | 2481 | | |
2473 | 2482 | | |
2474 | 2483 | | |
| |||
2807 | 2816 | | |
2808 | 2817 | | |
2809 | 2818 | | |
2810 | | - | |
2811 | | - | |
2812 | | - | |
2813 | 2819 | | |
2814 | | - | |
2815 | 2820 | | |
2816 | 2821 | | |
2817 | 2822 | | |
| |||
0 commit comments