git.codelabs.ch
/
muen
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hugetlb: introduce generic version of huge_ptep_set_wrprotect()
[muen/linux.git]
/
arch
/
powerpc
/
include
/
asm
/
book3s
/
64
/
pgtable.h
diff --git
a/arch/powerpc/include/asm/book3s/64/pgtable.h
b/arch/powerpc/include/asm/book3s/64/pgtable.h
index 2a2486526d1fc2a6c2ae84ada6601396758360ba..fc69eda5d5885244f7467c299195a7a30bbae25c 100644
(file)
--- a/
arch/powerpc/include/asm/book3s/64/pgtable.h
+++ b/
arch/powerpc/include/asm/book3s/64/pgtable.h
@@
-461,6
+461,7
@@
static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr,
pte_update(mm, addr, ptep, 0, _PAGE_PRIVILEGED, 0);
}
pte_update(mm, addr, ptep, 0, _PAGE_PRIVILEGED, 0);
}
+#define __HAVE_ARCH_HUGE_PTEP_SET_WRPROTECT
static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
unsigned long addr, pte_t *ptep)
{
static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
unsigned long addr, pte_t *ptep)
{