2005-11-07 17:00:19 +08:00
|
|
|
/*
|
|
|
|
* RapidIO architecture support
|
|
|
|
*
|
|
|
|
* Copyright 2005 MontaVista Software, Inc.
|
|
|
|
* Matt Porter <mporter@kernel.crashing.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ASM_PPC_RIO_H
|
|
|
|
#define ASM_PPC_RIO_H
|
|
|
|
|
2011-06-03 00:18:53 +08:00
|
|
|
#ifdef CONFIG_FSL_RIO
|
2010-11-18 14:57:32 +08:00
|
|
|
extern int fsl_rio_mcheck_exception(struct pt_regs *);
|
|
|
|
#else
|
|
|
|
static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
|
|
|
|
#endif
|
2005-11-07 17:00:19 +08:00
|
|
|
|
|
|
|
#endif /* ASM_PPC_RIO_H */
|