Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Ard Biesheuvel | bb817be | 2017-06-02 13:52:07 +0000 | [diff] [blame] | 2 | |
3 | #ifndef __ASM_DMI_H | ||||
4 | #define __ASM_DMI_H | ||||
5 | |||||
6 | #include <linux/io.h> | ||||
7 | #include <linux/slab.h> | ||||
8 | |||||
9 | #define dmi_early_remap(x, l) memremap(x, l, MEMREMAP_WB) | ||||
10 | #define dmi_early_unmap(x, l) memunmap(x) | ||||
11 | #define dmi_remap(x, l) memremap(x, l, MEMREMAP_WB) | ||||
12 | #define dmi_unmap(x) memunmap(x) | ||||
13 | #define dmi_alloc(l) kzalloc(l, GFP_KERNEL) | ||||
14 | |||||
15 | #endif |