aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-08-07 12:30:58 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-08-26 21:16:55 -0400
commita204458acb358c147618c749ba0fac8ef2c5d4e6 (patch)
tree9423cc57ffbf9020e8404059e2610d1bafac25e5
parentb5438582090406e2ccb4169d9b2df7c9939ae42b (diff)
[MIPS] unwind_stack should return a value ...
And gcc 3.4 doesn't even warn out this, grrr. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--include/asm-mips/stacktrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-mips/stacktrace.h b/include/asm-mips/stacktrace.h
index 87bd7caec1cf..0bf82818aa53 100644
--- a/include/asm-mips/stacktrace.h
+++ b/include/asm-mips/stacktrace.h
@@ -12,6 +12,7 @@ extern unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
12static inline unsigned long unwind_stack(struct task_struct *task, 12static inline unsigned long unwind_stack(struct task_struct *task,
13 unsigned long *sp, unsigned long pc, unsigned long *ra) 13 unsigned long *sp, unsigned long pc, unsigned long *ra)
14{ 14{
15 return 0;
15} 16}
16#endif 17#endif
17 18