Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 
0003 #ifndef __ASM_DMI_H
0004 #define __ASM_DMI_H
0005 
0006 #include <linux/io.h>
0007 #include <linux/slab.h>
0008 
0009 #define dmi_early_remap(x, l)       memremap(x, l, MEMREMAP_WB)
0010 #define dmi_early_unmap(x, l)       memunmap(x)
0011 #define dmi_remap(x, l)         memremap(x, l, MEMREMAP_WB)
0012 #define dmi_unmap(x)            memunmap(x)
0013 #define dmi_alloc(l)            kzalloc(l, GFP_KERNEL)
0014 
0015 #endif