]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY
authorSami Tolvanen <samitolvanen@google.com>
Wed, 24 Feb 2021 22:57:06 +0000 (14:57 -0800)
committerKees Cook <keescook@chromium.org>
Thu, 25 Feb 2021 20:20:51 +0000 (12:20 -0800)
commit274e5f93f39c2ddf98bacd48d250d18c3faccfd1
treec07181aa755ce8b89fa13912b5c6253fbfbba713
parenta3b59d3fe5dd7ad9704f2c82679259ae0fdd3507
parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY

parisc uses -fpatchable-function-entry with dynamic ftrace, which means we
don't need recordmcount. Select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY
to tell that to the build system.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 93cfa02d2e77 ("tracing: move function tracer options to Kconfig")
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210224225706.2726050-1-samitolvanen@google.com
arch/parisc/Kconfig