]> git.baikalelectronics.ru Git - kernel.git/commit
mmap locking API: convert mmap_sem call sites missed by coccinelle
authorMichel Lespinasse <walken@google.com>
Tue, 9 Jun 2020 04:33:29 +0000 (21:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jun 2020 16:39:14 +0000 (09:39 -0700)
commit89e729a6ca8a9d2f628a675d876dd8c559f85ebb
tree45492bd30546e64b78ba05a874464f39c2596ae8
parente6555f587ec502ddbdf85e5e486c5c3b96981ee2
mmap locking API: convert mmap_sem call sites missed by coccinelle

Convert the last few remaining mmap_sem rwsem calls to use the new mmap
locking API.  These were missed by coccinelle for some reason (I think
coccinelle does not support some of the preprocessor constructs in these
files ?)

[akpm@linux-foundation.org: convert linux-next leftovers]
[akpm@linux-foundation.org: more linux-next leftovers]
[akpm@linux-foundation.org: more linux-next leftovers]

Signed-off-by: Michel Lespinasse <walken@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Davidlohr Bueso <dbueso@suse.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Liam Howlett <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ying Han <yinghan@google.com>
Link: http://lkml.kernel.org/r/20200520052908.204642-6-walken@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm64/kvm/mmu.c
arch/mips/mm/fault.c
arch/riscv/mm/pageattr.c
arch/x86/kvm/mmu/paging_tmpl.h
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c
drivers/vfio/pci/vfio_pci.c
fs/proc/base.c
lib/test_hmm.c