blob: b1d2deceeedbc1f24030a302e2f190ff8929084b [file] [log] [blame]
Matt Porter2b0c28d7f2005-11-07 01:00:19 -08001/*
2 * RapidIO architecture support
3 *
4 * Copyright 2005 MontaVista Software, Inc.
5 * Matt Porter <mporter@kernel.crashing.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
11 */
12
13#ifndef ASM_PPC_RIO_H
14#define ASM_PPC_RIO_H
15
16extern void platform_rio_init(void);
Kumar Galaa3623232011-06-02 11:18:53 -050017#ifdef CONFIG_FSL_RIO
Shaohui Xiecce1f102010-11-18 14:57:32 +080018extern int fsl_rio_mcheck_exception(struct pt_regs *);
19#else
20static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
21#endif
Matt Porter2b0c28d7f2005-11-07 01:00:19 -080022
23#endif /* ASM_PPC_RIO_H */