android_kernel_xiaomi_sm7250/arch/openrisc
Christoph Hellwig e75292735d BACKPORT: pagewalk: separate function pointers from iterator data
The mm_walk structure currently mixed data and code.  Split out the
operations vectors into a new mm_walk_ops structure, and while we are
changing the API also declare the mm_walk structure inside the
walk_page_range and walk_page_vma functions.

Based on patch from Linus Torvalds.

Link: https://lore.kernel.org/r/20190828141955.22210-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Change-Id: I0fce77a7f34d9979ff5798855516fdc403b21d27

Conflicts:
	arch/openrisc/kernel/dma.c
	mm/hmm.c
	mm/madvise.c
	mm/migrate.c
	mm/pagewalk.c
2022-11-12 11:23:09 +00:00
..
boot/dts
configs
include BACKPORT: arch/tlb: Clean up simple architectures 2022-11-12 11:23:05 +00:00
kernel BACKPORT: pagewalk: separate function pointers from iterator data 2022-11-12 11:23:09 +00:00
lib
mm
Kconfig BACKPORT: arch/tlb: Clean up simple architectures 2022-11-12 11:23:05 +00:00
Kconfig.debug
Makefile