Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168319
b: refs/heads/master
c: a9d244a
h: refs/heads/master
i:
  168317: e173997
  168315: 3750596
  168311: f04137e
  168303: 33592b8
  168287: 1282c63
  168255: c7a8ffa
  168191: 1665b0c
v: v3
  • Loading branch information
Matt Fleming authored and Paul Mundt committed Nov 9, 2009
1 parent f14bc0f commit 5dd06f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 421b541110b20ccff1a7ff3245439cb24efe9812
refs/heads/master: a9d244a2ff163247b607c4bb64803230ca8f8acb
5 changes: 4 additions & 1 deletion trunk/arch/sh/mm/cache-sh4.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,18 @@ static void __uses_jump_to_uncached sh4_flush_icache_range(void *args)

for (v = start; v < end; v += L1_CACHE_BYTES) {
unsigned long icacheaddr;
int j, n;

__ocbwb(v);

icacheaddr = CACHE_IC_ADDRESS_ARRAY | (v &
cpu_data->icache.entry_mask);

/* Clear i-cache line valid-bit */
n = boot_cpu_data.icache.n_aliases;
for (i = 0; i < cpu_data->icache.ways; i++) {
__raw_writel(0, icacheaddr);
for (j = 0; j < n; j++)
__raw_writel(0, icacheaddr + (j * PAGE_SIZE));
icacheaddr += cpu_data->icache.way_incr;
}
}
Expand Down

0 comments on commit 5dd06f3

Please sign in to comment.