]> Git Repo - J-linux.git/blob - arch/parisc/include/asm/hugetlb.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / arch / parisc / include / asm / hugetlb.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_PARISC64_HUGETLB_H
3 #define _ASM_PARISC64_HUGETLB_H
4
5 #include <asm/page.h>
6
7 #define __HAVE_ARCH_HUGE_SET_HUGE_PTE_AT
8 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
9                      pte_t *ptep, pte_t pte, unsigned long sz);
10
11 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
12 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
13                               pte_t *ptep);
14
15 #define __HAVE_ARCH_HUGE_PTEP_CLEAR_FLUSH
16 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma,
17                                           unsigned long addr, pte_t *ptep)
18 {
19         return *ptep;
20 }
21
22 #define __HAVE_ARCH_HUGE_PTEP_SET_WRPROTECT
23 void huge_ptep_set_wrprotect(struct mm_struct *mm,
24                                            unsigned long addr, pte_t *ptep);
25
26 #define __HAVE_ARCH_HUGE_PTEP_SET_ACCESS_FLAGS
27 int huge_ptep_set_access_flags(struct vm_area_struct *vma,
28                                              unsigned long addr, pte_t *ptep,
29                                              pte_t pte, int dirty);
30
31 #include <asm-generic/hugetlb.h>
32
33 #endif /* _ASM_PARISC64_HUGETLB_H */
This page took 0.027816 seconds and 4 git commands to generate.