drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / mips / include / asm / dmi.h
blobdc397f630c6608c85ba5224686e3470e5d5dc82e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_DMI_H
3 #define _ASM_DMI_H
5 #include <linux/io.h>
6 #include <linux/memblock.h>
8 #define dmi_early_remap(x, l) ioremap(x, l)
9 #define dmi_early_unmap(x, l) iounmap(x)
10 #define dmi_remap(x, l) ioremap_cache(x, l)
11 #define dmi_unmap(x) iounmap(x)
13 /* MIPS initialize DMI scan before SLAB is ready, so we use memblock here */
14 #define dmi_alloc(l) memblock_alloc_low(l, PAGE_SIZE)
16 #if defined(CONFIG_MACH_LOONGSON64)
17 #define SMBIOS_ENTRY_POINT_SCAN_START 0xFFFE000
18 #endif
20 #endif /* _ASM_DMI_H */