]> www.infradead.org Git - users/jedix/linux-maple.git/commit
optee: remove vma linked list walk
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:18 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 14 Apr 2022 21:49:47 +0000 (17:49 -0400)
commit7cabcc4043ee84e79a8cab2b54a93fd489607506
tree1000bb408b68b5c452069feebf42f738a5f1d5ba
parentff211de0648578e52c575a55dd2dd3bd9baf9fa1
optee: remove vma linked list walk

Use the VMA iterator instead.  Change the calling convention of
__check_mem_type() to pass in the mm instead of the first vma in the
range.

Link: https://lkml.kernel.org/r/20220404143501.2016403-40-Liam.Howlett@oracle.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/tee/optee/call.c