mm: constify page_is_pfmemalloc() argument
authorAlexander Lobakin <alobakin@pm.me>
Tue, 2 Feb 2021 13:30:54 +0000 (13:30 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Feb 2021 02:20:13 +0000 (18:20 -0800)
commit1d7bab6a94458e959f3f55788fd50ddc7d97403b
tree7c56fb59585b809562602f1619f450b18a7a02f6
parent9c97921a51a013917cfc387998882ecd0795937c
mm: constify page_is_pfmemalloc() argument

The function only tests for page->index, so its argument should be
const.

Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/mm.h