diff options
author | Vineet Gupta <vgupta@kernel.org> | 2023-08-13 04:23:59 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@kernel.org> | 2023-08-14 02:53:02 +0300 |
commit | 4d3696801bad2a037832c15a8d21dfe0c529d9cd (patch) | |
tree | 3944d811d0e280b59a40914d4eb59604f6d393ed /arch/arc/kernel/stacktrace.c | |
parent | 2ccdd1b13c591d306f0401d98dedc4bdcd02b421 (diff) | |
download | linux-4d3696801bad2a037832c15a8d21dfe0c529d9cd.tar.xz |
ARC: -Wmissing-prototype warning fixes
Anrd reported [1] new compiler warnings due to -Wmissing-protype.
These are for non static functions mostly used in asm code hence not
exported already. Fix this by adding the prototypes.
[1] https://lore.kernel.org/lkml/20230810141947.1236730-1-arnd@kernel.org
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/arc/kernel/stacktrace.c')
-rw-r--r-- | arch/arc/kernel/stacktrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/kernel/stacktrace.c b/arch/arc/kernel/stacktrace.c index 5372dc04e784..ea99c066ef25 100644 --- a/arch/arc/kernel/stacktrace.c +++ b/arch/arc/kernel/stacktrace.c @@ -29,6 +29,7 @@ #include <asm/arcregs.h> #include <asm/unwind.h> +#include <asm/stacktrace.h> #include <asm/switch_to.h> /*------------------------------------------------------------------------- |