diff options
| author | Will Deacon <will@kernel.org> | 2022-12-06 11:04:47 +0000 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2022-12-06 11:04:47 +0000 |
| commit | f455fb65b4fcfcae29b4e8c44a46b23e3c8e893a (patch) | |
| tree | 387bb0278a789a59b5c3c075a47275181d499142 /arch/arm64/include/asm/hugetlb.h | |
| parent | f6ffa4c8c177c0b52d1c849289b08178f6da0eea (diff) | |
| parent | 44ecda71fd8a70185c270f5914ac563827fe1d4c (diff) | |
Merge branch 'for-next/errata' into for-next/core
* for-next/errata:
arm64: errata: Workaround possible Cortex-A715 [ESR|FAR]_ELx corruption
arm64: Add Cortex-715 CPU part definition
Diffstat (limited to 'arch/arm64/include/asm/hugetlb.h')
| -rw-r--r-- | arch/arm64/include/asm/hugetlb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/hugetlb.h b/arch/arm64/include/asm/hugetlb.h index d20f5da2d76f..6a4a1ab8eb23 100644 --- a/arch/arm64/include/asm/hugetlb.h +++ b/arch/arm64/include/asm/hugetlb.h @@ -49,6 +49,15 @@ extern pte_t huge_ptep_get(pte_t *ptep); void __init arm64_hugetlb_cma_reserve(void); +#define huge_ptep_modify_prot_start huge_ptep_modify_prot_start +extern pte_t huge_ptep_modify_prot_start(struct vm_area_struct *vma, + unsigned long addr, pte_t *ptep); + +#define huge_ptep_modify_prot_commit huge_ptep_modify_prot_commit +extern void huge_ptep_modify_prot_commit(struct vm_area_struct *vma, + unsigned long addr, pte_t *ptep, + pte_t old_pte, pte_t new_pte); + #include <asm-generic/hugetlb.h> #endif /* __ASM_HUGETLB_H */ |
