Commit a7fde0bf authored by Helge Deller's avatar Helge Deller

parisc: unwind: Mark start and stop variables __maybe_unused

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent b62b37d6
...@@ -24,12 +24,13 @@ ...@@ -24,12 +24,13 @@
#include <asm/unwind.h> #include <asm/unwind.h>
#include <asm/switch_to.h> #include <asm/switch_to.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/ftrace.h>
/* #define DEBUG 1 */ /* #define DEBUG 1 */
#ifdef DEBUG #ifdef DEBUG
#define dbg(x...) pr_debug(x) #define dbg(x...) pr_debug(x)
#else #else
#define dbg(x...) #define dbg(x...) do { } while (0)
#endif #endif
#define KERNEL_START (KERNEL_BINARY_TEXT_START) #define KERNEL_START (KERNEL_BINARY_TEXT_START)
...@@ -179,7 +180,7 @@ void unwind_table_remove(struct unwind_table *table) ...@@ -179,7 +180,7 @@ void unwind_table_remove(struct unwind_table *table)
/* Called from setup_arch to import the kernel unwind info */ /* Called from setup_arch to import the kernel unwind info */
int __init unwind_init(void) int __init unwind_init(void)
{ {
long start, stop; long start __maybe_unused, stop __maybe_unused;
register unsigned long gp __asm__ ("r27"); register unsigned long gp __asm__ ("r27");
start = (long)&__start___unwind[0]; start = (long)&__start___unwind[0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment