Displaying 1 result from an estimated 1 matches for "igd_reg".
Did you mean:
big_reg
2010 Nov 09
0
[PATCH] ia64: fix the build (again)
...-27,6 +27,7 @@
#include <asm/sal.h>
#include "../iommu.h"
#include "../dmar.h"
+#include "../extern.h"
#include "../vtd.h"
--- a/xen/drivers/passthrough/vtd/quirks.c
+++ b/xen/drivers/passthrough/vtd/quirks.c
@@ -119,8 +119,12 @@ static void map_igd_reg(void)
igd_reg = (igd_mmio & IGD_BAR_MASK) + 0x2000;
/* ioremap this physical page */
+#if defined(CONFIG_X86)
set_fixmap_nocache(FIX_IGD_MMIO, igd_reg);
igd_reg_va = (u8 *)fix_to_virt(FIX_IGD_MMIO);
+#else
+ igd_reg_va = ioremap_nocache(igd_reg, 0x100);
+#endif
}
/*...