1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * RapidIO architecture support 4 * 5 * Copyright 2005 MontaVista Software, Inc. 6 * Matt Porter <mporter@kernel.crashing.org> 7 */ 8 9 #ifndef ASM_PPC_RIO_H 10 #define ASM_PPC_RIO_H 11 12 #ifdef CONFIG_FSL_RIO 13 extern int fsl_rio_mcheck_exception(struct pt_regs *); 14 #else 15 static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; } 16 #endif 17 18 #endif /* ASM_PPC_RIO_H */