Explorar o código

microblaze: Add missing declaration for die and _exception func

This change remove sparse errors.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek %!s(int64=16) %!d(string=hai) anos
pai
achega
ce0b755f7d
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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);