xref: /openbmc/linux/arch/powerpc/include/asm/rio.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*2874c5fdSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2b8b572e1SStephen Rothwell /*
3b8b572e1SStephen Rothwell  * RapidIO architecture support
4b8b572e1SStephen Rothwell  *
5b8b572e1SStephen Rothwell  * Copyright 2005 MontaVista Software, Inc.
6b8b572e1SStephen Rothwell  * Matt Porter <mporter@kernel.crashing.org>
7b8b572e1SStephen Rothwell  */
8b8b572e1SStephen Rothwell 
9b8b572e1SStephen Rothwell #ifndef ASM_PPC_RIO_H
10b8b572e1SStephen Rothwell #define ASM_PPC_RIO_H
11b8b572e1SStephen Rothwell 
12a3623239SKumar Gala #ifdef CONFIG_FSL_RIO
13cce1f106SShaohui Xie extern int fsl_rio_mcheck_exception(struct pt_regs *);
14cce1f106SShaohui Xie #else
fsl_rio_mcheck_exception(struct pt_regs * regs)15cce1f106SShaohui Xie static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
16cce1f106SShaohui Xie #endif
17b8b572e1SStephen Rothwell 
18b8b572e1SStephen Rothwell #endif				/* ASM_PPC_RIO_H */
19