浏览代码

microblaze: Add missing declaration for die and _exception func

This change remove sparse errors.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 16 年之前
父节点
当前提交
ce0b755f7d
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      arch/microblaze/include/asm/exceptions.h

+ 3 - 0
arch/microblaze/include/asm/exceptions.h

@@ -61,6 +61,9 @@
 asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
 							int fsr, int addr);
 
+void die(const char *str, struct pt_regs *fp, long err);
+void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr);
+
 #if defined(CONFIG_XMON)
 extern void xmon(struct pt_regs *regs);
 extern int xmon_bpt(struct pt_regs *regs);