From db8c9e00a67c6a1c2c3ba918139969054d90e6de Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 29 Jan 2008 10:14:55 +0000 Subject: [PATCH] --- yaml --- r: 78021 b: refs/heads/master c: 526af35e5db81758da8488d381610ed9d1fba8f7 h: refs/heads/master i: 78019: cd9e66381abd4efba55c87beae0da8a24f5872e1 v: v3 --- [refs] | 2 +- trunk/arch/mips/mm/c-r4k.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 480b7add6588..7ff8c994d21c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 48ef2626aeecac3b160d1aee38ac46d6c3540122 +refs/heads/master: 526af35e5db81758da8488d381610ed9d1fba8f7 diff --git a/trunk/arch/mips/mm/c-r4k.c b/trunk/arch/mips/mm/c-r4k.c index 9355f1c9325f..d526899b037c 100644 --- a/trunk/arch/mips/mm/c-r4k.c +++ b/trunk/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))