diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-08-07 10:02:55 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-08-26 21:16:55 -0400 |
commit | de4b21474053513d9ad41994c95dade3e6b3362f (patch) | |
tree | 60a44dbc1c8141386cc4a87d41620a4221e7f73f /include/asm-mips/stacktrace.h | |
parent | 3f478a873944fd4d040b7f40408da67e78473c8e (diff) |
[MIPS] Fix build error if CONFIG_KALLSYMS is undefined.
CC arch/mips/kernel/traps.o
arch/mips/kernel/traps.c: In function 'show_backtrace':
arch/mips/kernel/traps.c:110: warning: unused variable 'ra'
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/stacktrace.h')
-rw-r--r-- | include/asm-mips/stacktrace.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-mips/stacktrace.h b/include/asm-mips/stacktrace.h index 07f873351a86..87bd7caec1cf 100644 --- a/include/asm-mips/stacktrace.h +++ b/include/asm-mips/stacktrace.h | |||
@@ -9,7 +9,10 @@ extern unsigned long unwind_stack(struct task_struct *task, unsigned long *sp, | |||
9 | unsigned long pc, unsigned long *ra); | 9 | unsigned long pc, unsigned long *ra); |
10 | #else | 10 | #else |
11 | #define raw_show_trace 1 | 11 | #define raw_show_trace 1 |
12 | #define unwind_stack(task, sp, pc, ra) 0 | 12 | static inline unsigned long unwind_stack(struct task_struct *task, |
13 | unsigned long *sp, unsigned long pc, unsigned long *ra) | ||
14 | { | ||
15 | } | ||
13 | #endif | 16 | #endif |
14 | 17 | ||
15 | static __always_inline void prepare_frametrace(struct pt_regs *regs) | 18 | static __always_inline void prepare_frametrace(struct pt_regs *regs) |