summaryrefslogtreecommitdiffstats
path: root/init/do_mounts_rd.c
diff options
context:
space:
mode:
authorAlistair Popple <apopple@nvidia.com>2021-05-07 03:05:27 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-07 09:26:33 +0200
commit63cdafe0af982e7da9ded37ccf21109a02bc6832 (patch)
tree345c569c16a183b27f7014f91ea40b94f6dedbbe /init/do_mounts_rd.c
parentkernel/resource: allow region_intersects users to hold resource_lock (diff)
downloadlinux-63cdafe0af982e7da9ded37ccf21109a02bc6832.tar.xz
linux-63cdafe0af982e7da9ded37ccf21109a02bc6832.zip
kernel/resource: refactor __request_region to allow external locking
Refactor the portion of __request_region() done whilst holding the resource_lock into a separate function to allow callers to hold the lock. Link: https://lkml.kernel.org/r/20210419070109.4780-2-apopple@nvidia.com Signed-off-by: Alistair Popple <apopple@nvidia.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Balbir Singh <bsingharora@gmail.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jerome Glisse <jglisse@redhat.com> Cc: John Hubbard <jhubbard@nvidia.com> Cc: Muchun Song <smuchun@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions