diff options
-rw-r--r-- | arch/mips/mm/c-r4k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 9355f1c9325f..d526899b037c 100644 --- 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) | |||
449 | * If the page isn't marked valid, the page cannot possibly be | 449 | * If the page isn't marked valid, the page cannot possibly be |
450 | * in the cache. | 450 | * in the cache. |
451 | */ | 451 | */ |
452 | if (!(pte_val(*ptep) & _PAGE_PRESENT)) | 452 | if (!(pte_present(*ptep))) |
453 | return; | 453 | return; |
454 | 454 | ||
455 | if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) | 455 | if ((mm == current->active_mm) && (pte_val(*ptep) & _PAGE_VALID)) |