summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/xilinx_mb_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/xilinx_mb_manager.h')
-rw-r--r--arch/microblaze/include/asm/xilinx_mb_manager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/xilinx_mb_manager.h b/arch/microblaze/include/asm/xilinx_mb_manager.h
index 392c3aa278dc..7b6995722b0c 100644
--- a/arch/microblaze/include/asm/xilinx_mb_manager.h
+++ b/arch/microblaze/include/asm/xilinx_mb_manager.h
@@ -5,6 +5,8 @@
#ifndef _XILINX_MB_MANAGER_H
#define _XILINX_MB_MANAGER_H
+# ifndef __ASSEMBLY__
+
#include <linux/of_address.h>
/*
@@ -17,5 +19,11 @@
void xmb_manager_register(uintptr_t phys_baseaddr, u32 cr_val,
void (*callback)(void *data),
void *priv, void (*reset_callback)(void *data));
+asmlinkage void xmb_inject_err(void);
+
+# endif /* __ASSEMBLY__ */
+
+/* Error injection offset */
+#define XMB_INJECT_ERR_OFFSET 0x200
#endif /* _XILINX_MB_MANAGER_H */