ANDROID: Fix build error in linker_ctx() when CONFIG_PER_VMA_LOCK=n
When CONFIG_PER_VMA_LOCK=n vma->vm_lock does not exist. Fix build error in this configuration by avoiding vm_lock usage. Fixes: 9381f5d6 ("ANDROID: 16K: Fallback to mmap lock for linker context VMA lookup") Bug: 443296451 Bug: 440553914 Bug: 451083029 Change-Id: If2ece084fea8973a1cb2678e6d9b32e09f5eb079 Signed-off-by:Suren Baghdasaryan <surenb@google.com> (cherry picked from commit 78b358dd) Signed-off-by:
liwei <liwei1234@oppo.com>
Loading
Please sign in to comment