summaryrefslogtreecommitdiffstats
path: root/arch/arm64/lib
diff options
context:
space:
mode:
authorRobin Murphy2017-07-25 12:55:43 +0200
committerCatalin Marinas2017-08-09 13:16:26 +0200
commit5d7bdeb1eeb250222304cb7b8126892cc47980a8 (patch)
tree56e29a0d8285c6a33cd8a991007207f56414af01 /arch/arm64/lib
parentarm64: Implement pmem API support (diff)
downloadkernel-qcow2-linux-5d7bdeb1eeb250222304cb7b8126892cc47980a8.tar.gz
kernel-qcow2-linux-5d7bdeb1eeb250222304cb7b8126892cc47980a8.tar.xz
kernel-qcow2-linux-5d7bdeb1eeb250222304cb7b8126892cc47980a8.zip
arm64: uaccess: Implement *_flushcache variants
Implement the set of copy functions with guarantees of a clean cache upon completion necessary to support the pmem driver. Reviewed-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/lib')
-rw-r--r--arch/arm64/lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/lib/Makefile b/arch/arm64/lib/Makefile
index c86b7909ef31..a0abc142c92b 100644
--- a/arch/arm64/lib/Makefile
+++ b/arch/arm64/lib/Makefile
@@ -17,3 +17,5 @@ CFLAGS_atomic_ll_sc.o := -fcall-used-x0 -ffixed-x1 -ffixed-x2 \
-fcall-saved-x10 -fcall-saved-x11 -fcall-saved-x12 \
-fcall-saved-x13 -fcall-saved-x14 -fcall-saved-x15 \
-fcall-saved-x18
+
+lib-$(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) += uaccess_flushcache.o