Thomas Gleixner | 2874c5f | 2019-05-27 08:55:01 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Matt Porter | 2b0c28d7f | 2005-11-07 01:00:19 -0800 | [diff] [blame] | 2 | /* |
| 3 | * RapidIO architecture support |
| 4 | * |
| 5 | * Copyright 2005 MontaVista Software, Inc. |
| 6 | * Matt Porter <mporter@kernel.crashing.org> |
Matt Porter | 2b0c28d7f | 2005-11-07 01:00:19 -0800 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef ASM_PPC_RIO_H |
| 10 | #define ASM_PPC_RIO_H |
| 11 | |
Kumar Gala | a362323 | 2011-06-02 11:18:53 -0500 | [diff] [blame] | 12 | #ifdef CONFIG_FSL_RIO |
Shaohui Xie | cce1f10 | 2010-11-18 14:57:32 +0800 | [diff] [blame] | 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 |
Matt Porter | 2b0c28d7f | 2005-11-07 01:00:19 -0800 | [diff] [blame] | 17 | |
| 18 | #endif /* ASM_PPC_RIO_H */ |