mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
parisc: unwind: Mark start and stop variables __maybe_unused
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -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)
|
|||||||
/* 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];
|
||||||
|
Reference in New Issue
Block a user