]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
3ed3bce8 MD |
2 | #ifndef _ASM_DMI_H |
3 | #define _ASM_DMI_H 1 | |
4 | ||
5a0e3ad6 | 5 | #include <linux/slab.h> |
3ed3bce8 MD |
6 | #include <asm/io.h> |
7 | ||
ef3fb66c | 8 | /* Use normal IO mappings for DMI */ |
cf074402 AB |
9 | #define dmi_early_remap ioremap |
10 | #define dmi_early_unmap(x, l) iounmap(x) | |
11 | #define dmi_remap ioremap | |
12 | #define dmi_unmap iounmap | |
13 | #define dmi_alloc(l) kzalloc(l, GFP_ATOMIC) | |
ef3fb66c | 14 | |
3ed3bce8 | 15 | #endif |