diff options
| author | Mike Rapoport (IBM) <[email protected]> | 2024-05-05 16:06:24 +0000 |
|---|---|---|
| committer | Luis Chamberlain <[email protected]> | 2024-05-14 07:31:44 +0000 |
| commit | 0cc2dc4902f425e346d46deeea2352d9fba75375 (patch) | |
| tree | 8e3b6c6800e6144849984089fa01267f647f1014 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc: extend execmem_params for kprobes allocations (diff) | |
| download | kernel-0cc2dc4902f425e346d46deeea2352d9fba75375.tar.gz kernel-0cc2dc4902f425e346d46deeea2352d9fba75375.zip | |
arch: make execmem setup available regardless of CONFIG_MODULES
execmem does not depend on modules, on the contrary modules use
execmem.
To make execmem available when CONFIG_MODULES=n, for instance for
kprobes, split execmem_params initialization out from
arch/*/kernel/module.c and compile it when CONFIG_EXECMEM=y
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
