Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/45685f62c9132aca5dc3c028471218393b51f34c.1709326528.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

authored by

Geert Uytterhoeven and committed by
John Paul Adrian Glaubitz
2be8df7c dcead6e5

+2
+2
arch/sh/kernel/return_address.c
··· 7 7 */ 8 8 #include <linux/kernel.h> 9 9 #include <linux/module.h> 10 + 10 11 #include <asm/dwarf.h> 12 + #include <asm/ftrace.h> 11 13 12 14 #ifdef CONFIG_DWARF_UNWINDER 13 15