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>
Showing
Please register or sign in to comment