diff options
| author | Wedson Almeida Filho <[email protected]> | 2022-02-02 05:51:23 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-02-03 22:20:37 +1100 |
| commit | d4be60fe66b7380530868ceebe549f8eebccacc5 (patch) | |
| tree | 520a969d36b2cb71cf5a107d046caa8f62d4dcd3 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | be7be1c6c6f8bd348f0d83abe7a8f0e21bdaeac8 (diff) | |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions