diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-03-01 22:02:19 +0100 |
---|---|---|
committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2024-05-02 12:01:23 +0200 |
commit | 2be8df7c6dea7e3671a378ec4931edf9e35490d2 (patch) | |
tree | 2e3d041b7cf5d876f565d2b97c2ca75808366dce | |
parent | sh: tlb: Add missing forward declaration for handle_tlbmiss() (diff) | |
download | linux-2be8df7c6dea7e3671a378ec4931edf9e35490d2.tar.xz linux-2be8df7c6dea7e3671a378ec4931edf9e35490d2.zip |
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>
-rw-r--r-- | arch/sh/kernel/return_address.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/return_address.c b/arch/sh/kernel/return_address.c index 8838094c9ff9..2ce22f11eab3 100644 --- a/arch/sh/kernel/return_address.c +++ b/arch/sh/kernel/return_address.c @@ -7,7 +7,9 @@ */ #include <linux/kernel.h> #include <linux/module.h> + #include <asm/dwarf.h> +#include <asm/ftrace.h> #ifdef CONFIG_DWARF_UNWINDER |