]> www.infradead.org Git - users/jedix/linux-maple.git/commit
zsmalloc: replace kmap_atomic with kmap_local_page
authorPintu Kumar <quic_pintu@quicinc.com>
Tue, 1 Oct 2024 17:53:58 +0000 (23:23 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:28:52 +0000 (21:28 -0700)
commit55f83eda909fdcdcfecf0b44d3b74b8dbf56828c
tree69faa53e4d9c7f9c0e1a2e4fac8c7ff797440987
parent7895be5b2d2c133ac3634b2f5707ff0cdf2090cd
zsmalloc: replace kmap_atomic with kmap_local_page

The use of kmap_atomic/kunmap_atomic is deprecated.  Replace it will
kmap_local_page/kunmap_local all over the place.  Also fix SPDX missing
license header.

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1

WARNING: Deprecated use of 'kmap_atomic', prefer 'kmap_local_page' instead
+               vaddr = kmap_atomic(page);

Link: https://lkml.kernel.org/r/20241001175358.12970-1-quic_pintu@quicinc.com
Signed-off-by: Pintu Kumar <quic_pintu@quicinc.com>
Cc: Joe Perches <joe@perches.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Pintu Agarwal <pintu.ping@gmail.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/zsmalloc.c