diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-27 09:58:22 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-27 09:58:22 +1000 |
commit | 9693ebd4815eefa2b7c8fcc699061a0c8da0c1e7 (patch) | |
tree | cd8d8919c18528c26aa78291833b3551c4d33a35 /arch/powerpc/include/asm/rio.h | |
parent | 3fb7933850faf1017c59a675e895ed8f27fef4be (diff) | |
parent | 6ff31453161e8614e8ba3b360f8d883a27230e0c (diff) |
Merge remote branch 'kumar/merge' into merge
Diffstat (limited to 'arch/powerpc/include/asm/rio.h')
-rw-r--r-- | arch/powerpc/include/asm/rio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/rio.h b/arch/powerpc/include/asm/rio.h index 0018bf80cb2..d902abd3399 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 */ |