1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 27f30491cSTony Luck #ifndef _ASM_DMI_H 37f30491cSTony Luck #define _ASM_DMI_H 1 47f30491cSTony Luck 55a0e3ad6STejun Heo #include <linux/slab.h> 67f30491cSTony Luck #include <asm/io.h> 77f30491cSTony Luck 87f30491cSTony Luck /* Use normal IO mappings for DMI */ 9cf074402SArd Biesheuvel #define dmi_early_remap ioremap 10cf074402SArd Biesheuvel #define dmi_early_unmap(x, l) iounmap(x) 11cf074402SArd Biesheuvel #define dmi_remap ioremap 12cf074402SArd Biesheuvel #define dmi_unmap iounmap 13ab10596fSJoe Perches #define dmi_alloc(l) kzalloc(l, GFP_ATOMIC) 147f30491cSTony Luck 157f30491cSTony Luck #endif 16