linux-stable/arch/parisc
Max Kellermann 745718d00f parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check
[ Upstream commit 250f5402e6 ]

Fixes a bug revealed by -Wmissing-prototypes when
CONFIG_FUNCTION_GRAPH_TRACER is enabled but not CONFIG_DYNAMIC_FTRACE:

 arch/parisc/kernel/ftrace.c:82:5: error: no previous prototype for 'ftrace_enable_ftrace_graph_caller' [-Werror=missing-prototypes]
    82 | int ftrace_enable_ftrace_graph_caller(void)
       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 arch/parisc/kernel/ftrace.c:88:5: error: no previous prototype for 'ftrace_disable_ftrace_graph_caller' [-Werror=missing-prototypes]
    88 | int ftrace_disable_ftrace_graph_caller(void)
       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:22:12 -04:00
..
boot
configs
include parisc/pdc: Add width field to struct pdc_model 2023-11-28 16:50:19 +00:00
kernel parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check 2024-03-26 18:22:12 -04:00
lib Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" 2021-09-03 10:08:16 +02:00
math-emu parisc: math-emu: Fix fall-through warnings 2021-10-27 09:54:24 +02:00
mm parisc: Drop __init from map_pages declaration 2022-02-23 11:59:54 +01:00
oprofile
defpalo.conf
install.sh parisc: Fix "make install" on newer debian releases 2021-12-08 09:01:13 +01:00
Kconfig parisc: Enable ARCH_HAS_STRICT_MODULE_RWX 2022-06-29 08:58:48 +02:00
Kconfig.debug
Makefile module/ftrace: handle patchable-function-entry 2022-02-23 11:59:56 +01:00
nm