summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/maccess.h
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2023-08-04 16:39:06 +0300
committerHeiko Carstens <hca@linux.ibm.com>2023-08-16 16:13:02 +0300
commita984f27ec26323204045c306f8b25bc61e042626 (patch)
treee207fa948a9d8d89aa33dc7953c361030f4c7020 /arch/s390/include/asm/maccess.h
parent8ddccc8a7d06f7ea4d8579970c95609d1b1de77b (diff)
downloadlinux-a984f27ec26323204045c306f8b25bc61e042626.tar.xz
s390/mm: define Real Memory Copy size and mask macros
Make Real Memory Copy area size and mask explicit. This does not bring any functional change and only needed for clarity. Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/maccess.h')
-rw-r--r--arch/s390/include/asm/maccess.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/maccess.h b/arch/s390/include/asm/maccess.h
index cfec3141fdba..50225940d971 100644
--- a/arch/s390/include/asm/maccess.h
+++ b/arch/s390/include/asm/maccess.h
@@ -4,6 +4,9 @@
#include <linux/types.h>
+#define MEMCPY_REAL_SIZE PAGE_SIZE
+#define MEMCPY_REAL_MASK PAGE_MASK
+
struct iov_iter;
extern unsigned long __memcpy_real_area;