diff options
author | Thiemo Seufer <ths@networkno.de> | 2005-02-19 08:32:02 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:38 -0400 |
commit | 26a51b270f6d87674b713705ba9533440ca41b6c (patch) | |
tree | e9ea5b928cf639000c5e6429e556ddd10260bf15 /arch/mips/mm/c-r4k.c | |
parent | 1ba582a1285d534928d68c9d67d8fb63da9abbd1 (diff) |
Use intermediate variable.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r-- | arch/mips/mm/c-r4k.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 429167321cfb..03100b8a45d9 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
@@ -380,7 +380,7 @@ static inline void local_r4k_flush_cache_page(void *args) | |||
380 | * If ownes no valid ASID yet, cannot possibly have gotten | 380 | * If ownes no valid ASID yet, cannot possibly have gotten |
381 | * this page into the cache. | 381 | * this page into the cache. |
382 | */ | 382 | */ |
383 | if (cpu_context(smp_processor_id(), vma->vm_mm) == 0) | 383 | if (cpu_context(smp_processor_id(), mm) == 0) |
384 | return; | 384 | return; |
385 | 385 | ||
386 | page &= PAGE_MASK; | 386 | page &= PAGE_MASK; |
@@ -428,8 +428,8 @@ static inline void local_r4k_flush_cache_page(void *args) | |||
428 | if (cpu_has_vtag_icache) { | 428 | if (cpu_has_vtag_icache) { |
429 | int cpu = smp_processor_id(); | 429 | int cpu = smp_processor_id(); |
430 | 430 | ||
431 | if (cpu_context(cpu, vma->vm_mm) != 0) | 431 | if (cpu_context(cpu, mm) != 0) |
432 | drop_mmu_context(vma->vm_mm, cpu); | 432 | drop_mmu_context(mm, cpu); |
433 | } else | 433 | } else |
434 | r4k_blast_icache_page_indexed(page); | 434 | r4k_blast_icache_page_indexed(page); |
435 | } | 435 | } |