commit | 0cc2dc4902f425e346d46deeea2352d9fba75375 | [log] [tgz] |
---|---|---|
author | Mike Rapoport (IBM) <rppt@kernel.org> | Sun May 05 19:06:24 2024 +0300 |
committer | Luis Chamberlain <mcgrof@kernel.org> | Tue May 14 00:31:44 2024 -0700 |
tree | 8e3b6c6800e6144849984089fa01267f647f1014 | |
parent | 1b750c2fbf82fd704255d1975db39d9b429922f0 [diff] |
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) <rppt@kernel.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>