Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10991
b: refs/heads/master
c: 79acf83
h: refs/heads/master
i:
  10989: d920d8c
  10987: deec589
  10983: 696bfc9
  10975: a3a4aad
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 90184be commit 266735b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6e8b587718c486b55c2ebecc6de231a30beba35
refs/heads/master: 79acf83e509dd0ca3db6c747bf58931984abc6e3
14 changes: 7 additions & 7 deletions trunk/arch/mips/mm/c-r4k.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,13 @@ static inline void local_r4k_flush_cache_page(void *args)
pmd_t *pmdp;
pte_t *ptep;

/*
* 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)
return;

page &= PAGE_MASK;
pgdp = pgd_offset(mm, page);
pudp = pud_offset(pgdp, page);
Expand Down Expand Up @@ -432,13 +439,6 @@ static void r4k_flush_cache_page(struct vm_area_struct *vma, unsigned long page,
{
struct flush_cache_page_args 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)
return;

args.vma = vma;
args.page = page;

Expand Down

0 comments on commit 266735b

Please sign in to comment.