diff options
author | Greg Ungerer <gerg@uclinux.org> | 2012-07-10 13:33:24 +1000 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-07-17 15:49:34 +1000 |
commit | f3ff6432dde9c0800754f1f144f6e864ac228214 (patch) | |
tree | 16739657a2a113ceda333e428b393caf0e6774f1 /arch/m68k/mm | |
parent | b60f187fecee5d9dceb89773e15f976fe21d893a (diff) | |
download | linux-next-f3ff6432dde9c0800754f1f144f6e864ac228214.tar.gz |
m68k: fix ColdFire clear cache operation
The code for clearing (invalidating) the ColdFire cache is actually performing
a push operation. Add functions to clear the cache, and fix cache_clear() to
call the appropriate clear cache function.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/mm')
-rw-r--r-- | arch/m68k/mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/mm/memory.c b/arch/m68k/mm/memory.c index 250b8b786f4f..51bc9d258ede 100644 --- a/arch/m68k/mm/memory.c +++ b/arch/m68k/mm/memory.c @@ -203,7 +203,7 @@ static inline void pushcl040(unsigned long paddr) void cache_clear (unsigned long paddr, int len) { if (CPU_IS_COLDFIRE) { - flush_cf_bcache(0, DCACHE_MAX_ADDR); + clear_cf_bcache(0, DCACHE_MAX_ADDR); } else if (CPU_IS_040_OR_060) { int tmp; |