rio.h 674 B

1234567891011121314151617181920212223
  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. #ifndef ASM_PPC_RIO_H
  13. #define ASM_PPC_RIO_H
  14. extern void platform_rio_init(void);
  15. #ifdef CONFIG_FSL_RIO
  16. extern int fsl_rio_mcheck_exception(struct pt_regs *);
  17. #else
  18. static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
  19. #endif
  20. #endif /* ASM_PPC_RIO_H */