mm: move mapping_set_update out of <linux/swap.h>
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Feb 2024 06:27:09 +0000 (07:27 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Wed, 21 Feb 2024 06:06:50 +0000 (11:36 +0530)
commitb64e74e95aa6491b31477e9002aab1d8df3995bf
treed923a7ab17be7b75d5c6f24a3b5d3287ab11a852
parent7d5ba7ca6a4525b8908c285c2949bb946dfbbc54
mm: move mapping_set_update out of <linux/swap.h>

mapping_set_update is only used inside mm/.  Move mapping_set_update to
mm/internal.h and turn it into an inline function instead of a macro.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
include/linux/swap.h
mm/filemap.c
mm/internal.h
mm/workingset.c