Commit c90d7457 authored by Ma Wupeng's avatar Ma Wupeng Committed by Wupeng Ma
Browse files

arm64: mm: Use corrent pte val in arch_vm_get_page_prot

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I96IZH



--------------------------------

During arch_vm_get_page_prot, vm_page_prot is init based on vma flags,
pte bit not vm_prot should be used here. Fix this problem by replacing
vm_prot with pte bit.

Fixes: 5c5063ac ("arm64: mm: Introduce VM_PBHA_BIT0 to enable pbha bit0 for single vma")
Signed-off-by: default avatarMa Wupeng <mawupeng1@huawei.com>
parent 70c98c7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment