1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_DMI_H
3 #define _ASM_DMI_H 1
4 
5 #include <linux/slab.h>
6 #include <asm/io.h>
7 
8 /* Use normal IO mappings for DMI */
9 #define dmi_early_remap		ioremap
10 #define dmi_early_unmap(x, l)	iounmap(x)
11 #define dmi_remap		ioremap
12 #define dmi_unmap		iounmap
13 #define dmi_alloc(l)		kzalloc(l, GFP_ATOMIC)
14 
15 #endif
16