drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / riscv / include / asm / dmi.h
blobca7cce557ef7d81a2a7eb2d1e502719651bd4ea1
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2024 Intel Corporation
5 * based on arch/arm64/include/asm/dmi.h
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive
9 * for more details.
12 #ifndef __ASM_DMI_H
13 #define __ASM_DMI_H
15 #include <linux/io.h>
16 #include <linux/slab.h>
18 #define dmi_early_remap(x, l) memremap(x, l, MEMREMAP_WB)
19 #define dmi_early_unmap(x, l) memunmap(x)
20 #define dmi_remap(x, l) memremap(x, l, MEMREMAP_WB)
21 #define dmi_unmap(x) memunmap(x)
22 #define dmi_alloc(l) kzalloc(l, GFP_KERNEL)
24 #endif