git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[sfrench/cifs-2.6.git]
/
arch
/
powerpc
/
include
/
asm
/
nohash
/
32
/
pgtable.h
diff --git
a/arch/powerpc/include/asm/nohash/32/pgtable.h
b/arch/powerpc/include/asm/nohash/32/pgtable.h
index cc2bfec3aa3b9b540e92c1f5008229b7351e6195..504a3c36ce5c9b311a9c8864d112792ae60fab9f 100644
(file)
--- a/
arch/powerpc/include/asm/nohash/32/pgtable.h
+++ b/
arch/powerpc/include/asm/nohash/32/pgtable.h
@@
-282,7
+282,7
@@
static inline void __ptep_set_access_flags(struct mm_struct *mm,
{
unsigned long set = pte_val(entry) &
(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC);
- unsigned long clr = ~pte_val(entry) &
_PAGE_RO
;
+ unsigned long clr = ~pte_val(entry) &
(_PAGE_RO | _PAGE_NA)
;
pte_update(ptep, clr, set);
}