|
@@ -47,6 +47,7 @@
|
|
|
#include <asm/rio.h>
|
|
|
#include <asm/bios_ebda.h>
|
|
|
#include <asm/x86_init.h>
|
|
|
+#include <asm/iommu_table.h>
|
|
|
|
|
|
#ifdef CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT
|
|
|
int use_calgary __read_mostly = 1;
|
|
@@ -1595,3 +1596,5 @@ static int __init calgary_fixup_tce_spaces(void)
|
|
|
* and before device_initcall.
|
|
|
*/
|
|
|
rootfs_initcall(calgary_fixup_tce_spaces);
|
|
|
+
|
|
|
+IOMMU_INIT_POST(detect_calgary);
|