[MIPS] unwind_stack should return a value ...
authorRalf Baechle <ralf@linux-mips.org>
Tue, 7 Aug 2007 16:30:58 +0000 (17:30 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Aug 2007 01:16:55 +0000 (02:16 +0100)
And gcc 3.4 doesn't even warn out this, grrr.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/stacktrace.h

index 87bd7ca..0bf8281 100644 (file)
@@ -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