diff options
| author | Nicholas Piggin <[email protected]> | 2022-11-28 14:15:36 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-12-02 17:54:07 +1100 |
| commit | f9231a996e229c13d23f907352c2cea84bd1c30a (patch) | |
| tree | 0fa18676b38f527206681d1f6ac431133c2b674d /tools/perf/scripts/python | |
| parent | 2f228ee1ade5d8d1f26cf94863a36c5693023c58 (diff) | |
module: add module_elf_check_arch for module-specific checks
The elf_check_arch() function is also used to test compatibility of
usermode binaries. Kernel modules may have more specific requirements,
for example powerpc would like to test for ABI version compatibility.
Add a weak module_elf_check_arch() that defaults to true, and call it
from elf_validity_check().
Signed-off-by: Jessica Yu <[email protected]>
[np: added changelog, adjust name, rebase]
Acked-by: Luis Chamberlain <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions