projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ef262
)
[MIPS] Use pte_present instead of open coded test for _PAGE_PRESENT.
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 29 Jan 2008 10:14:55 +0000
(10:14 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 29 Jan 2008 10:14:55 +0000
(10:14 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/mm/c-r4k.c
b/arch/mips/mm/c-r4k.c
index 9355f1c9325f1b7056c1be4f1af2afdf379ea891..d526899b037c0182353b2082d45632b671c1a67a 100644
(file)
--- a/
arch/mips/mm/c-r4k.c
+++ b/
arch/mips/mm/c-r4k.c
@@
-449,7
+449,7
@@
static inline void local_r4k_flush_cache_page(void *args)
* If the page isn't marked valid, the page cannot possibly be
* in the cache.
*/
- if (!(pte_
val(*ptep) & _PAGE_PRESENT
))
+ if (!(pte_
present(*ptep)
))
return;
if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID))