瀏覽代碼

[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 年之前
父節點
當前提交
a204458acb
共有 1 個文件被更改,包括 1 次插入0 次删除
  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