From 1d4705c12fc5044ce3dd6f8b38f45622146dfece Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Fri, 4 Dec 2009 16:18:11 +0900 Subject: [PATCH] --- yaml --- r: 173519 b: refs/heads/master c: a781d1e5ff6277f80ff3c9503775521bc64cf131 h: refs/heads/master i: 173517: 9a4bc38fee340c1faff144faf4c1259e445c5ada 173515: c783f615d183e310c38a6700d52abeba2dc6e2ac 173511: cf9e3406d23f2a028c3407a1ea9db5a092967b6f 173503: db816d3cca89c8e6e4958f8684495535dbc5c654 v: v3 --- [refs] | 2 +- trunk/arch/sh/mm/cache-sh4.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e94d0c65dd09..1a725bb763e1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7e01c949989b984c074469e04ab99c47367c7187 +refs/heads/master: a781d1e5ff6277f80ff3c9503775521bc64cf131 diff --git a/trunk/arch/sh/mm/cache-sh4.c b/trunk/arch/sh/mm/cache-sh4.c index 6bfd08d5fb81..f36a08bf3d5c 100644 --- a/trunk/arch/sh/mm/cache-sh4.c +++ b/trunk/arch/sh/mm/cache-sh4.c @@ -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); } @@ -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); }