diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-08-07 18:30:58 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-08-27 03:16:55 +0200 |
commit | a204458acb358c147618c749ba0fac8ef2c5d4e6 (patch) | |
tree | 9423cc57ffbf9020e8404059e2610d1bafac25e5 /include | |
parent | [MIPS] SMTC: Fix crash on bootup with idebus= command line argument. (diff) | |
download | linux-a204458acb358c147618c749ba0fac8ef2c5d4e6.tar.xz linux-a204458acb358c147618c749ba0fac8ef2c5d4e6.zip |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/stacktrace.h | 1 |
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, static inline unsigned long unwind_stack(struct task_struct *task, unsigned long *sp, unsigned long pc, unsigned long *ra) { + return 0; } #endif |