git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MIPS] Add missing braces to pte_mkyoung
[safe/jmp/linux-2.6]
/
include
/
asm-mips
/
pgtable.h
diff --git
a/include/asm-mips/pgtable.h
b/include/asm-mips/pgtable.h
index
2f597ee
..
6a0edf7
100644
(file)
--- a/
include/asm-mips/pgtable.h
+++ b/
include/asm-mips/pgtable.h
@@
-239,9
+239,10
@@
static inline pte_t pte_mkdirty(pte_t pte)
static inline pte_t pte_mkyoung(pte_t pte)
{
pte.pte_low |= _PAGE_ACCESSED;
- if (pte.pte_low & _PAGE_READ)
+ if (pte.pte_low & _PAGE_READ)
{
pte.pte_low |= _PAGE_SILENT_READ;
pte.pte_high |= _PAGE_SILENT_READ;
+ }
return pte;
}
#else