]> err.no Git - linux-2.6/commitdiff
[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 87bd7caec1cfa038f6dcc2b693723d31066b52bd..0bf82818aa53d9abe10a75c86e7c40c240d957d5 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