mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
The use of kmap() is being deprecated in favor of kmap_local_page() where it is feasible. For kmap around a memcpy there's a convenience helper memcpy_to_page that also makes the flush_dcache_page() redundant. CC: Fabio M. De Francesco <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Signed-off-by: David Sterba <[email protected]>