summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/copy-unaligned.h
blob: e3d70d35b70819203245a35324360657386a32dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2023 Rivos, Inc.
 */
#ifndef __RISCV_KERNEL_COPY_UNALIGNED_H
#define __RISCV_KERNEL_COPY_UNALIGNED_H

#include <linux/types.h>

void __riscv_copy_words_unaligned(void *dst, const void *src, size_t size);
void __riscv_copy_bytes_unaligned(void *dst, const void *src, size_t size);

#endif /* __RISCV_KERNEL_COPY_UNALIGNED_H */