summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/mm/Makefile
diff options
context:
space:
mode:
authorDavid Howells2010-10-27 18:28:46 +0200
committerDavid Howells2010-10-27 18:28:46 +0200
commitb478491f2628114b2eae76587f22ce3789b66012 (patch)
tree038580a05fa1a3c8c9cbee0fa8743af2bba650b9 /arch/mn10300/mm/Makefile
parentMN10300: AM34: Add cacheflushing by using the AM34 purge registers (diff)
downloadkernel-qcow2-linux-b478491f2628114b2eae76587f22ce3789b66012.tar.gz
kernel-qcow2-linux-b478491f2628114b2eae76587f22ce3789b66012.tar.xz
kernel-qcow2-linux-b478491f2628114b2eae76587f22ce3789b66012.zip
MN10300: Allow some cacheflushes to be avoided if cache snooping is available
The AM34 core is able to do cache snooping, and so can skip some of the cache flushing. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/mm/Makefile')
-rw-r--r--arch/mn10300/mm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mn10300/mm/Makefile b/arch/mn10300/mm/Makefile
index 7b997236ed20..56c5af83151b 100644
--- a/arch/mn10300/mm/Makefile
+++ b/arch/mn10300/mm/Makefile
@@ -3,6 +3,8 @@
#
cacheflush-y := cache.o
+cacheflush-$(CONFIG_MN10300_CACHE_INV_ICACHE) += cache-inv-icache.o
+cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_ICACHE) += cache-flush-icache.o
cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o
cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_REG) += cache-inv-by-reg.o
cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o