aboutsummaryrefslogtreecommitdiff
path: root/include/asm-i386/dmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/dmi.h')
-rw-r--r--include/asm-i386/dmi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-i386/dmi.h b/include/asm-i386/dmi.h
new file mode 100644
index 00000000000..38d4eeb7fc7
--- /dev/null
+++ b/include/asm-i386/dmi.h
@@ -0,0 +1,11 @@
+#ifndef _ASM_DMI_H
+#define _ASM_DMI_H 1
+
+#include <asm/io.h>
+
+/* Use early IO mappings for DMI because it's initialized early */
+#define dmi_ioremap bt_ioremap
+#define dmi_iounmap bt_iounmap
+#define dmi_alloc alloc_bootmem
+
+#endif