Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172389
b: refs/heads/master
c: 9e95922
h: refs/heads/master
i:
  172387: f4c98cd
v: v3
  • Loading branch information
Russell King committed Dec 4, 2009
1 parent 769fc00 commit 2bcbc37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 115b22474eb1905da2f606a057da3455833333d3
refs/heads/master: 9e95922b1016ac941db7edcf6b6088b3c2e916c8
6 changes: 6 additions & 0 deletions trunk/arch/arm/mm/flush.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned
: "cc");
__flush_icache_all();
}

if (vma->vm_flags & VM_EXEC && icache_is_vivt_asid_tagged())
__flush_icache_all();
}

void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn)
Expand All @@ -82,6 +85,9 @@ void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsig
flush_pfn_alias(pfn, user_addr);
__flush_icache_all();
}

if (vma->vm_flags & VM_EXEC && icache_is_vivt_asid_tagged())
__flush_icache_all();
}

void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
Expand Down

0 comments on commit 2bcbc37

Please sign in to comment.