]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/iommu.h
[PATCH] powerpc/pseries: Change H_StudlyCaps to H_SHOUTING_CAPS
[linux-2.6] / include / asm-powerpc / iommu.h
index 59f062668997af0b5e3806b8b5afddf862aa84bc..d5677cbec200fc748ee9802f969760c7f4510707 100644 (file)
@@ -20,6 +20,7 @@
 
 #ifndef _ASM_IOMMU_H
 #define _ASM_IOMMU_H
+#ifdef __KERNEL__
 
 #include <linux/config.h>
 #include <asm/types.h>
@@ -63,25 +64,6 @@ extern void iommu_free_table(struct device_node *dn);
 
 #endif /* CONFIG_PPC_MULTIPLATFORM */
 
-#ifdef CONFIG_PPC_PSERIES
-
-/* Creates table for an individual device node */
-extern void iommu_devnode_init_pSeries(struct device_node *dn);
-
-#endif /* CONFIG_PPC_PSERIES */
-
-#ifdef CONFIG_PPC_ISERIES
-
-/* Creates table for an individual device node */
-extern void iommu_devnode_init_iSeries(struct device_node *dn);
-/* Get table parameters from HV */
-extern void iommu_table_getparms_iSeries(unsigned long busno,
-                                        unsigned char slotno,
-                                        unsigned char virtbus,
-                                        struct iommu_table* tbl);
-
-#endif /* CONFIG_PPC_ISERIES */
-
 /* Initializes an iommu_table based in values set in the passed-in
  * structure
  */
@@ -115,4 +97,5 @@ static inline void pci_iommu_init(void) { }
 
 extern void alloc_dart_table(void);
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_IOMMU_H */