From: Ralf Baechle Date: Tue, 7 Aug 2007 16:30:58 +0000 (+0100) Subject: [MIPS] unwind_stack should return a value ... X-Git-Tag: v2.6.23-rc4~7^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a204458acb358c147618c749ba0fac8ef2c5d4e6;p=thirdparty%2Fkernel%2Flinux.git [MIPS] unwind_stack should return a value ... And gcc 3.4 doesn't even warn out this, grrr. Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/stacktrace.h b/include/asm-mips/stacktrace.h index 87bd7caec1cfa..0bf82818aa53d 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