summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/rio.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-05-27 10:17:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-27 10:17:30 -0700
commit45acab01ca6389371ec39e16844768a60f5f1380 (patch)
treec2997deab16bdc254f927edfa849d2a4dfb36092 /arch/powerpc/include/asm/rio.h
parentc0880dcded3ffe77700184e9d96c110ce0094c11 (diff)
parent9693ebd4815eefa2b7c8fcc699061a0c8da0c1e7 (diff)
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc/fsl_rio: Error interrupt handler for sRIO on MPC85xx powerpc/fsl_rio: move machine_check handler powerpc/fsl_lbc: Add workaround for ELBC-A001 erratum
Diffstat (limited to 'arch/powerpc/include/asm/rio.h')
-rw-r--r--arch/powerpc/include/asm/rio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/rio.h b/arch/powerpc/include/asm/rio.h
index 0018bf80cb25..d902abd33995 100644
--- a/arch/powerpc/include/asm/rio.h
+++ b/arch/powerpc/include/asm/rio.h
@@ -14,5 +14,10 @@
#define ASM_PPC_RIO_H
extern void platform_rio_init(void);
+#ifdef CONFIG_RAPIDIO
+extern int fsl_rio_mcheck_exception(struct pt_regs *);
+#else
+static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
+#endif
#endif /* ASM_PPC_RIO_H */