Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173519
b: refs/heads/master
c: a781d1e
h: refs/heads/master
i:
  173517: 9a4bc38
  173515: c783f61
  173511: cf9e340
  173503: db816d3
v: v3
  • Loading branch information
Matt Fleming authored and Paul Mundt committed Dec 4, 2009
1 parent ab3cc6b commit 1d4705c
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: 7e01c949989b984c074469e04ab99c47367c7187
refs/heads/master: a781d1e5ff6277f80ff3c9503775521bc64cf131
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 @@ -98,7 +98,7 @@ static inline void flush_cache_one(unsigned long start, unsigned long phys)
exec_offset = cached_to_uncached;

local_irq_save(flags);
__flush_cache_one(start | SH_CACHE_ASSOC, phys, exec_offset);
__flush_cache_one(start, phys, exec_offset);
local_irq_restore(flags);
}

Expand All @@ -123,7 +123,7 @@ static void sh4_flush_dcache_page(void *arg)

/* Loop all the D-cache */
n = boot_cpu_data.dcache.n_aliases;
for (i = 0; i <= n; i++, addr += PAGE_SIZE)
for (i = 0; i < n; i++, addr += PAGE_SIZE)
flush_cache_one(addr, phys);
}

Expand Down

0 comments on commit 1d4705c

Please sign in to comment.