summaryrefslogtreecommitdiff
path: root/arch/mn10300/mm/cache-inv-icache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-03-14 15:20:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-14 15:20:39 -0700
commit59766edc79da0583eff7d0a9e1049b0d3c5676b0 (patch)
tree0a8261248b89c54667f7eeb367bbcddde5c694d4 /arch/mn10300/mm/cache-inv-icache.c
parent2990821d0e38d2bfc556ad39d709b5f8a83c2ebd (diff)
parentaf794206542e03d62138a107ee0ffb5e7d631881 (diff)
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300: MN10300: atomic_read() should ensure it emits a load MN10300: The SMP_ICACHE_INV_FLUSH_RANGE IPI command does not exist MN10300: Proper use of macros get_user() in the case of incremented pointers
Diffstat (limited to 'arch/mn10300/mm/cache-inv-icache.c')
-rw-r--r--arch/mn10300/mm/cache-inv-icache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mn10300/mm/cache-inv-icache.c b/arch/mn10300/mm/cache-inv-icache.c
index a8933a60b2d..a6b63dde603 100644
--- a/arch/mn10300/mm/cache-inv-icache.c
+++ b/arch/mn10300/mm/cache-inv-icache.c
@@ -69,7 +69,7 @@ static void flush_icache_page_range(unsigned long start, unsigned long end)
/* invalidate the icache coverage on that region */
mn10300_local_icache_inv_range2(addr + off, size);
- smp_cache_call(SMP_ICACHE_INV_FLUSH_RANGE, start, end);
+ smp_cache_call(SMP_ICACHE_INV_RANGE, start, end);
}
/**
@@ -101,7 +101,7 @@ void flush_icache_range(unsigned long start, unsigned long end)
* directly */
start_page = (start >= 0x80000000UL) ? start : 0x80000000UL;
mn10300_icache_inv_range(start_page, end);
- smp_cache_call(SMP_ICACHE_INV_FLUSH_RANGE, start, end);
+ smp_cache_call(SMP_ICACHE_INV_RANGE, start, end);
if (start_page == start)
goto done;
end = start_page;