Sfoglia il codice sorgente

[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>
Ralf Baechle 18 anni fa
parent
commit
a204458acb
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      include/asm-mips/stacktrace.h

+ 1 - 0
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