summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/dmi_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/dmi_32.h')
-rw-r--r--include/asm-x86/dmi_32.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-x86/dmi_32.h b/include/asm-x86/dmi_32.h
new file mode 100644
index 00000000000..38d4eeb7fc7
--- /dev/null
+++ b/include/asm-x86/dmi_32.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