Files
linux/arch/powerpc/kernel
Wedson Almeida Filho d4be60fe66 powerpc/module_64: use module_init_section instead of patching names
Without this patch, module init sections are disabled by patching their
names in arch-specific code when they're loaded (which prevents code in
layout_sections from finding init sections). This patch uses the new
arch-specific module_init_section instead.

This allows modules that have .init_array sections to have the
initialisers properly called (on load, before init). Without this patch,
the initialisers are not called because .init_array is renamed to
_init_array, and thus isn't found by code in find_module_sections().

Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220202055123.2144842-1-wedsonaf@google.com
2022-02-03 22:20:37 +11:00
..
2021-12-01 00:06:44 +01:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:20 +11:00
2021-12-09 22:41:20 +11:00
2020-12-04 01:01:09 +11:00
2021-12-09 22:41:19 +11:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:21 +11:00
2021-04-30 11:20:40 -07:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:21 +11:00
2021-11-16 21:24:16 +11:00
2021-12-13 12:04:45 -06:00
2021-08-19 09:02:55 +09:00
2021-12-09 22:41:21 +11:00