powerpc/xics: Add ICP OPAL backend
[linux-2.6-block.git] / arch / powerpc / include / asm / xics.h
index 04ef3ae511da85104ba01570deb9050c5f2f4dd0..f5f729c115781a8d6c9c1850f89558b06383c761 100644 (file)
@@ -42,6 +42,12 @@ extern int icp_hv_init(void);
 static inline int icp_hv_init(void) { return -ENODEV; }
 #endif
 
+#ifdef CONFIG_PPC_POWERNV
+extern int icp_opal_init(void);
+#else
+static inline int icp_opal_init(void) { return -ENODEV; }
+#endif
+
 /* ICP ops */
 struct icp_ops {
        unsigned int (*get_irq)(void);