Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173372
b: refs/heads/master
c: 31c9efd
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Sep 9, 2009
1 parent 87e4bb1 commit 01d7a94
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 654d364e26c797e8a5f9e2a1393607e6ca0106eb
refs/heads/master: 31c9efde786252112cc3d04a1ed3513b6ec63a7b
4 changes: 2 additions & 2 deletions trunk/arch/sh/mm/cache-sh4.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ static void sh4_flush_dcache_page(void *arg)
else
#endif
{
unsigned long phys = PHYSADDR(page_address(page));
unsigned long phys = page_to_phys(page);
unsigned long addr = CACHE_OC_ADDRESS_ARRAY;
int i, n;

/* Loop all the D-cache */
n = boot_cpu_data.dcache.n_aliases;
n = boot_cpu_data.dcache.way_incr >> 12;
for (i = 0; i < n; i++, addr += 4096)
flush_cache_4096(addr, phys);
}
Expand Down

0 comments on commit 01d7a94

Please sign in to comment.