]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Use intermediate variable.
authorThiemo Seufer <ths@networkno.de>
Sat, 19 Feb 2005 13:32:02 +0000 (13:32 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:38 +0000 (19:30 +0100)
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c

index 429167321cfbe48186a870e0c0ceec989e0de9c5..03100b8a45d98cb4ed560f1916ed09fdc04948cc 100644 (file)
@@ -380,7 +380,7 @@ static inline void local_r4k_flush_cache_page(void *args)
         * If ownes no valid ASID yet, cannot possibly have gotten
         * this page into the cache.
         */
-       if (cpu_context(smp_processor_id(), vma->vm_mm) == 0)
+       if (cpu_context(smp_processor_id(), mm) == 0)
                return;
 
        page &= PAGE_MASK;
@@ -428,8 +428,8 @@ static inline void local_r4k_flush_cache_page(void *args)
                if (cpu_has_vtag_icache) {
                        int cpu = smp_processor_id();
 
-                       if (cpu_context(cpu, vma->vm_mm) != 0)
-                               drop_mmu_context(vma->vm_mm, cpu);
+                       if (cpu_context(cpu, mm) != 0)
+                               drop_mmu_context(mm, cpu);
                } else
                        r4k_blast_icache_page_indexed(page);
        }