summaryrefslogtreecommitdiffstats
path: root/kernel/arch/ia64/include/asm/dmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/ia64/include/asm/dmi.h')
-rw-r--r--kernel/arch/ia64/include/asm/dmi.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/arch/ia64/include/asm/dmi.h b/kernel/arch/ia64/include/asm/dmi.h
new file mode 100644
index 000000000..f365a61f5
--- /dev/null
+++ b/kernel/arch/ia64/include/asm/dmi.h
@@ -0,0 +1,14 @@
+#ifndef _ASM_DMI_H
+#define _ASM_DMI_H 1
+
+#include <linux/slab.h>
+#include <asm/io.h>
+
+/* Use normal IO mappings for DMI */
+#define dmi_early_remap ioremap
+#define dmi_early_unmap(x, l) iounmap(x)
+#define dmi_remap ioremap
+#define dmi_unmap iounmap
+#define dmi_alloc(l) kzalloc(l, GFP_ATOMIC)
+
+#endif