summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/copy-unaligned.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-09-14 19:48:23 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-09-14 19:48:23 +0200
commitf2fa1c812c91e99d0317d1fc7d845e1e05f39716 (patch)
tree8253727a8947e8b63a5c9b504d0bfb735648471b /arch/riscv/kernel/copy-unaligned.h
parent59bb1d698028d7f01650f9def579efdfdfb7039f (diff)
parent9fdfb15a3dbf818e06be514f4abbfc071004cbe7 (diff)
downloadlinux-f2fa1c812c91e99d0317d1fc7d845e1e05f39716.tar.gz
linux-f2fa1c812c91e99d0317d1fc7d845e1e05f39716.tar.bz2
linux-f2fa1c812c91e99d0317d1fc7d845e1e05f39716.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. No conflicts. Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'arch/riscv/kernel/copy-unaligned.h')
-rw-r--r--arch/riscv/kernel/copy-unaligned.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/riscv/kernel/copy-unaligned.h b/arch/riscv/kernel/copy-unaligned.h
new file mode 100644
index 000000000000..e3d70d35b708
--- /dev/null
+++ b/arch/riscv/kernel/copy-unaligned.h
@@ -0,0 +1,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 */