dmi.h 378 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #ifndef __ASM_DMI_H
  3. #define __ASM_DMI_H
  4. #include <linux/io.h>
  5. #include <linux/slab.h>
  6. #define dmi_early_remap(x, l) memremap(x, l, MEMREMAP_WB)
  7. #define dmi_early_unmap(x, l) memunmap(x)
  8. #define dmi_remap(x, l) memremap(x, l, MEMREMAP_WB)
  9. #define dmi_unmap(x) memunmap(x)
  10. #define dmi_alloc(l) kzalloc(l, GFP_KERNEL)
  11. #endif