]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86_64/proto.h
[PATCH] x86_64: Use function pointers to call DMA mapping functions
[linux-2.6-omap-h63xx.git] / include / asm-x86_64 / proto.h
index 34501086afef57a81ab0369dcea9e0e1bad2c76f..113e8a235b27d497f0f081c3d10281373dde9a5c 100644 (file)
@@ -92,7 +92,9 @@ extern void check_efer(void);
 extern int unhandled_signal(struct task_struct *tsk, int sig);
 
 extern void select_idle_routine(const struct cpuinfo_x86 *c);
-extern void swiotlb_init(void);
+
+extern void gart_parse_options(char *);
+extern void __init no_iommu_init(void);
 
 extern unsigned long table_start, table_end;
 
@@ -106,12 +108,17 @@ extern int skip_ioapic_setup;
 extern int acpi_ht;
 extern int acpi_disabled;
 
+#ifdef CONFIG_GART_IOMMU
 extern int fallback_aper_order;
 extern int fallback_aper_force;
 extern int iommu_aperture;
-extern int iommu_aperture_disabled;
 extern int iommu_aperture_allowed;
+extern int iommu_aperture_disabled;
 extern int fix_aperture;
+#else
+#define iommu_aperture 0
+#define iommu_aperture_allowed 0
+#endif
 extern int force_iommu;
 
 extern int reboot_force;