diff options
author | 2022-09-01 15:29:06 +0200 | |
---|---|---|
committer | 2022-09-20 08:42:44 +0200 | |
commit | 1d61261bfe8ae34764aa5a9d68af4ab15237719e (patch) | |
tree | c142fadee5fb3bd87bfa367e4315b11ea5177aff /drivers/fpga/fpga-bridge.c | |
parent | Linux 6.0-rc6 (diff) | |
download | wireguard-linux-1d61261bfe8ae34764aa5a9d68af4ab15237719e.tar.xz wireguard-linux-1d61261bfe8ae34764aa5a9d68af4ab15237719e.zip |
swiotlb: replace kmap_atomic() with memcpy_{from,to}_page()
The use of kmap_atomic() is being deprecated in favor of
kmap_local_page(), which can also be used in atomic context (including
interrupts).
Replace kmap_atomic() with kmap_local_page(). Instead of open coding
mapping, memcpy(), and un-mapping, use the memcpy_{from,to}_page() helper.
Suggested-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions