summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-04-16 11:11:22 +0200
committerMichal Simek <monstr@monstr.eu>2009-04-23 16:09:17 +0200
commitce0b755f7dda4f1c06b89f7e903667f538dadd3c (patch)
tree9b26c57f6e35898ddadb35fc5df8e4e84b676597 /arch
parentmicroblaze: Remove sparse error in traps.c (diff)
downloadlinux-ce0b755f7dda4f1c06b89f7e903667f538dadd3c.tar.xz
linux-ce0b755f7dda4f1c06b89f7e903667f538dadd3c.zip
microblaze: Add missing declaration for die and _exception func
This change remove sparse errors. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/include/asm/exceptions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/exceptions.h b/arch/microblaze/include/asm/exceptions.h
index 4cdd2159f470..24ca540e77c0 100644
--- a/arch/microblaze/include/asm/exceptions.h
+++ b/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);