blob: 0e57cda2a64cb96ee428b5e1dec31a6880b61f56 [file] [log] [blame]
Thomas Gleixner2874c5f2019-05-27 08:55:01 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Matt Porter2b0c28d7f2005-11-07 01:00:19 -08002/*
3 * RapidIO architecture support
4 *
5 * Copyright 2005 MontaVista Software, Inc.
6 * Matt Porter <mporter@kernel.crashing.org>
Matt Porter2b0c28d7f2005-11-07 01:00:19 -08007 */
8
9#ifndef ASM_PPC_RIO_H
10#define ASM_PPC_RIO_H
11
Kumar Galaa3623232011-06-02 11:18:53 -050012#ifdef CONFIG_FSL_RIO
Shaohui Xiecce1f102010-11-18 14:57:32 +080013extern int fsl_rio_mcheck_exception(struct pt_regs *);
14#else
15static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
16#endif
Matt Porter2b0c28d7f2005-11-07 01:00:19 -080017
18#endif /* ASM_PPC_RIO_H */