Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172383
b: refs/heads/master
c: b7dc0b2
h: refs/heads/master
i:
  172381: 12411fd
  172379: 50fc1c9
  172375: 4f4540b
  172367: e33d192
  172351: dbb3230
v: v3
  • Loading branch information
Russell King committed Dec 1, 2009
1 parent 5a74c42 commit 698488a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 2f0b192633f1fbf253b21c90938733491549edae
refs/heads/master: b7dc0b2cfc6e9bc7270915c642a8a8e999b6095e
6 changes: 4 additions & 2 deletions trunk/arch/arm/mm/flush.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,

void __flush_dcache_page(struct address_space *mapping, struct page *page)
{
void *addr = page_address(page);

/*
* Writeback any data associated with the kernel mapping of this
* page. This ensures that data in the physical page is mutually
Expand All @@ -121,9 +123,9 @@ void __flush_dcache_page(struct address_space *mapping, struct page *page)
* kmap_atomic() doesn't set the page virtual address, and
* kunmap_atomic() takes care of cache flushing already.
*/
if (page_address(page))
if (addr)
#endif
__cpuc_flush_dcache_page(page_address(page));
__cpuc_flush_dcache_page(addr);

/*
* If this is a page cache page, and we have an aliasing VIPT cache,
Expand Down

0 comments on commit 698488a

Please sign in to comment.