Skip to content

Commit a7fde0b

Browse files
committed
parisc: unwind: Mark start and stop variables __maybe_unused
Signed-off-by: Helge Deller <[email protected]>
1 parent b62b37d commit a7fde0b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/parisc/kernel/unwind.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@
2424
#include <asm/unwind.h>
2525
#include <asm/switch_to.h>
2626
#include <asm/sections.h>
27+
#include <asm/ftrace.h>
2728

2829
/* #define DEBUG 1 */
2930
#ifdef DEBUG
3031
#define dbg(x...) pr_debug(x)
3132
#else
32-
#define dbg(x...)
33+
#define dbg(x...) do { } while (0)
3334
#endif
3435

3536
#define KERNEL_START (KERNEL_BINARY_TEXT_START)
@@ -179,7 +180,7 @@ void unwind_table_remove(struct unwind_table *table)
179180
/* Called from setup_arch to import the kernel unwind info */
180181
int __init unwind_init(void)
181182
{
182-
long start, stop;
183+
long start __maybe_unused, stop __maybe_unused;
183184
register unsigned long gp __asm__ ("r27");
184185

185186
start = (long)&__start___unwind[0];

0 commit comments

Comments
 (0)