Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356311
b: refs/heads/master
c: 027f27c
h: refs/heads/master
i:
  356309: 9d3bac2
  356307: bb67f64
  356303: a83c898
v: v3
  • Loading branch information
John David Anglin authored and Helge Deller committed Feb 20, 2013
1 parent 4f46b1b commit 086e05d
Show file tree
Hide file tree
Showing 3 changed files with 5 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: b54cb2332e387f29c65f19f3620e5c812c89a328
refs/heads/master: 027f27c4eca00b4411fb1fe61c33060569ff73f6
2 changes: 2 additions & 0 deletions trunk/arch/parisc/include/asm/cacheflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma
{
if (PageAnon(page)) {
flush_tlb_page(vma, vmaddr);
preempt_disable();
flush_dcache_page_asm(page_to_phys(page), vmaddr);
preempt_enable();
}
}

Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/parisc/kernel/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,11 @@ static inline void
__flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr,
unsigned long physaddr)
{
preempt_disable();
flush_dcache_page_asm(physaddr, vmaddr);
if (vma->vm_flags & VM_EXEC)
flush_icache_page_asm(physaddr, vmaddr);
preempt_enable();
}

void flush_dcache_page(struct page *page)
Expand Down

0 comments on commit 086e05d

Please sign in to comment.