aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMike Rapoport (IBM) <[email protected]>2024-05-05 16:06:25 +0000
committerLuis Chamberlain <[email protected]>2024-05-14 07:31:44 +0000
commit14e56fb2ed1dbc3c3171d12ab435b0f691f6f215 (patch)
tree7e18fa25186ef17a4bf931a0446dcf0355156339 /arch/powerpc/lib/code-patching.c
parentarch: make execmem setup available regardless of CONFIG_MODULES (diff)
downloadkernel-14e56fb2ed1dbc3c3171d12ab435b0f691f6f215.tar.gz
kernel-14e56fb2ed1dbc3c3171d12ab435b0f691f6f215.zip
x86/ftrace: enable dynamic ftrace without CONFIG_MODULES
Dynamic ftrace must allocate memory for code and this was impossible without CONFIG_MODULES. With execmem separated from the modules code, execmem_text_alloc() is available regardless of CONFIG_MODULES. Remove dependency of dynamic ftrace on CONFIG_MODULES and make CONFIG_DYNAMIC_FTRACE select CONFIG_EXECMEM in Kconfig. Signed-off-by: Mike Rapoport (IBM) <[email protected]> Reviewed-by: Steven Rostedt (Google) <[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