1 #ifndef _ASM_POWERPC_BOOK3S_PGTABLE_H
2 #define _ASM_POWERPC_BOOK3S_PGTABLE_H
5 #include <asm/book3s/64/pgtable.h>
7 #include <asm/book3s/32/pgtable.h>
10 #define FIRST_USER_ADDRESS 0UL
12 /* Insert a PTE, top-level function is out of line. It uses an inline
13 * low level function in the respective pgtable-* files
15 extern void set_pte_at(struct mm_struct
*mm
, unsigned long addr
, pte_t
*ptep
,
19 #define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS
20 extern int ptep_set_access_flags(struct vm_area_struct
*vma
, unsigned long address
,
21 pte_t
*ptep
, pte_t entry
, int dirty
);
24 extern pgprot_t
phys_mem_access_prot(struct file
*file
, unsigned long pfn
,
25 unsigned long size
, pgprot_t vma_prot
);
26 #define __HAVE_PHYS_MEM_ACCESS_PROT
28 #endif /* __ASSEMBLY__ */