x86/uaccess: Remove memcpy_page_flushcache()
authorIra Weiny <ira.weiny@intel.com>
Wed, 15 Mar 2023 23:20:54 +0000 (16:20 -0700)
committerDave Hansen <dave.hansen@linux.intel.com>
Thu, 16 Mar 2023 15:27:57 +0000 (08:27 -0700)
commitb9da86e3aade0cd8c8b60a0f6356e7730fc90d5d
treec70b41bc32aaa3ec38ad11535c605f50bbd090c7
parent8c3223a50faf1d173e0159eff10a9de902407135
x86/uaccess: Remove memcpy_page_flushcache()

Commit 21b56c847753 ("iov_iter: get rid of separate bvec and xarray
callbacks") removed the calls to memcpy_page_flushcache().

In addition, memcpy_page_flushcache() uses the deprecated
kmap_atomic().

Remove the unused x86 memcpy_page_flushcache() implementation and
also get rid of one more kmap_atomic() user.

[ dhansen: tweak changelog ]

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20221230-kmap-x86-v1-1-15f1ecccab50%40intel.com
arch/x86/include/asm/uaccess_64.h
arch/x86/lib/usercopy_64.c