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>
Thu, 7 Nov 2024 22:38:07 +0000 (14:38 -0800)
commit91d0ec834786a4c9e1e0c55f0fffc8c82cd66cd7
tree52c5eacaf88c30d515647f86579087aed93d1517
parentb7fc16a16b0850e41b88eae0edfa4c085c012347
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