rio.h (7a9787e1eba95a166265e6a260cf30af04ef0a99) | rio.h (cce1f106c64dc1d19d5e9406320fde18dfc662df) |
---|---|
1/* 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); | 1/* 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); |
17#ifdef CONFIG_RAPIDIO 18extern 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 |
|
17 18#endif /* ASM_PPC_RIO_H */ | 22 23#endif /* ASM_PPC_RIO_H */ |