From: Helge Deller Date: Fri, 30 Jun 2023 10:44:33 +0000 (+0200) Subject: parisc: unwind: Mark start and stop variables __maybe_unused X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a7fde0bf938d5839df6d89b39eb7f5d834c703ec;p=linux.git parisc: unwind: Mark start and stop variables __maybe_unused Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c index 42acc3b520174..043184ce38435 100644 --- a/arch/parisc/kernel/unwind.c +++ b/arch/parisc/kernel/unwind.c @@ -24,12 +24,13 @@ #include #include #include +#include /* #define DEBUG 1 */ #ifdef DEBUG #define dbg(x...) pr_debug(x) #else -#define dbg(x...) +#define dbg(x...) do { } while (0) #endif #define KERNEL_START (KERNEL_BINARY_TEXT_START) @@ -179,7 +180,7 @@ void unwind_table_remove(struct unwind_table *table) /* Called from setup_arch to import the kernel unwind info */ int __init unwind_init(void) { - long start, stop; + long start __maybe_unused, stop __maybe_unused; register unsigned long gp __asm__ ("r27"); start = (long)&__start___unwind[0];