mm: Remove get_kernel_pages()
authorIra Weiny <ira.weiny@intel.com>
Sat, 4 Feb 2023 04:06:35 +0000 (20:06 -0800)
committerJens Wiklander <jens.wiklander@linaro.org>
Mon, 13 Feb 2023 13:16:41 +0000 (14:16 +0100)
commit816477edfba6e7ab9411acec5f07cfa00e0882f7
treec9deccf12447b2953671f7ef60dfa78b863eac9c
parent0249a75b365911f91b87935bc08a4795a6fa7dd0
mm: Remove get_kernel_pages()

The only caller to get_kernel_pages() [shm_get_kernel_pages()] has been
updated to not need it.

Remove get_kernel_pages().

Cc: Mel Gorman <mgorman@suse.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Fabio M. De Francesco" <fmdefrancesco@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Acked-by: Andrew Morton <akpm@linux-foudation.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
include/linux/mm.h
mm/swap.c