summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/pmem.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2023-03-15 16:20:55 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2023-03-29 23:53:02 +1100
commit0398abca61482ae47a41ae8f2401338aea366327 (patch)
tree3ea8343efb31d01737689ae111770b0896ed152a /arch/powerpc/lib/pmem.c
parent3a713753d3cb52e4e3039cdb906ef00f0b574219 (diff)
powerpc: Remove memcpy_page_flushcache()
Commit 21b56c847753 ("iov_iter: get rid of separate bvec and xarray callbacks") removed the calls to memcpy_page_flushcache(). Remove the unnecessary memcpy_page_flushcache() call. Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20221230-kmap-x86-v1-2-15f1ecccab50@intel.com
Diffstat (limited to 'arch/powerpc/lib/pmem.c')
-rw-r--r--arch/powerpc/lib/pmem.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/lib/pmem.c b/arch/powerpc/lib/pmem.c
index eb2919ddf9b9..4e724c4c01ad 100644
--- a/arch/powerpc/lib/pmem.c
+++ b/arch/powerpc/lib/pmem.c
@@ -85,10 +85,3 @@ void memcpy_flushcache(void *dest, const void *src, size_t size)
clean_pmem_range(start, start + size);
}
EXPORT_SYMBOL(memcpy_flushcache);
-
-void memcpy_page_flushcache(char *to, struct page *page, size_t offset,
- size_t len)
-{
- memcpy_flushcache(to, page_to_virt(page) + offset, len);
-}
-EXPORT_SYMBOL(memcpy_page_flushcache);