arm64: Defer dcache flush in __cpu_copy_user_page
authorAshok Kumar <ashoks@broadcom.com>
Thu, 17 Dec 2015 09:38:31 +0000 (01:38 -0800)
committerWill Deacon <will.deacon@arm.com>
Thu, 17 Dec 2015 11:07:13 +0000 (11:07 +0000)
commite6b1185f77351aa154e63bd54b05d07ff99d4ffa
tree4bea75cad29fc76a11c0856834733551de00f8ef
parent971c67ce37cfeeaf560e792a2c3bc21d8b67163a
arm64: Defer dcache flush in __cpu_copy_user_page

Defer dcache flushing to __sync_icache_dcache by calling
flush_dcache_page which clears PG_dcache_clean flag.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ashok Kumar <ashoks@broadcom.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/copypage.c