drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / riscv / kernel / copy-unaligned.h
blobe3d70d35b70819203245a35324360657386a32dc
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2023 Rivos, Inc.
4 */
5 #ifndef __RISCV_KERNEL_COPY_UNALIGNED_H
6 #define __RISCV_KERNEL_COPY_UNALIGNED_H
8 #include <linux/types.h>
10 void __riscv_copy_words_unaligned(void *dst, const void *src, size_t size);
11 void __riscv_copy_bytes_unaligned(void *dst, const void *src, size_t size);
13 #endif /* __RISCV_KERNEL_COPY_UNALIGNED_H */