dmi.h 343 B

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