Skip to content

Commit 2be8df7

Browse files
geertuglaubitz
authored andcommitted
sh: return_address: Add missing #include <asm/ftrace.h>
arch/sh/kernel/return_address.c:49:7: warning: no previous prototype for ‘return_address’ [-Wmissing-prototypes] Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/45685f62c9132aca5dc3c028471218393b51f34c.1709326528.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent dcead6e commit 2be8df7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/sh/kernel/return_address.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
*/
88
#include <linux/kernel.h>
99
#include <linux/module.h>
10+
1011
#include <asm/dwarf.h>
12+
#include <asm/ftrace.h>
1113

1214
#ifdef CONFIG_DWARF_UNWINDER
1315

0 commit comments

Comments
 (0)