summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/include/asm/rio.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/include/asm/rio.h')
-rw-r--r--kernel/arch/powerpc/include/asm/rio.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/include/asm/rio.h b/kernel/arch/powerpc/include/asm/rio.h
new file mode 100644
index 000000000..ec800f28f
--- /dev/null
+++ b/kernel/arch/powerpc/include/asm/rio.h
@@ -0,0 +1,22 @@
+/*
+ * 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
+
+#ifdef CONFIG_FSL_RIO
+extern int fsl_rio_mcheck_exception(struct pt_regs *);
+#else
+static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
+#endif
+
+#endif /* ASM_PPC_RIO_H */