aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-07-14 21:26:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-07-15 10:13:49 -0700
commitab7965de1725cd8514f0edbced5c2fb793846078 (patch)
treed7d9d99081945347cceedd4fc2cb735e8d5b892b /lib
parentmm/page_alloc: further fix __alloc_pages_bulk() return value (diff)
downloadlinux-dev-ab7965de1725cd8514f0edbced5c2fb793846078.tar.xz
linux-dev-ab7965de1725cd8514f0edbced5c2fb793846078.zip
mm: fix the try_to_unmap prototype for !CONFIG_MMU
Adjust the nommu stub of try_to_unmap to match the changed protype for the full version. Turn it into an inline instead of a macro to generally improve the type checking. Link: https://lkml.kernel.org/r/20210705053944.885828-1-hch@lst.de Fixes: 1fb08ac63bee ("mm: rmap: make try_to_unmap() void function") Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Yang Shi <shy828301@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions