mmap locking API: add MMAP_LOCK_INITIALIZER

Linux Kernel / Linux Kernel - Michel Lespinasse [google.com] - 9 June 2020 16:39 UTC

Define a new initializer for the mmap locking api. Initially this just evaluates to __RWSEM_INITIALIZER as the API is defined as wrappers around rwsem.

14c3656b7284 mmap locking API: add MMAP_LOCK_INITIALIZER
arch/x86/kernel/tboot.c | 2 +-
drivers/firmware/efi/efi.c | 2 +-
include/linux/mmap_lock.h | 3 +++
mm/init-mm.c | 2 +-
4 files changed, 6 insertions(+), 3 deletions(-)

Upstream: git.kernel.org


  • Share