summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/mm
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-09-22 09:54:42 +0400
committerMax Filippov <jcmvbkbc@gmail.com>2014-10-21 13:28:50 +0400
commitb6cee17b7d5999ae5f9ea51643dc6ea6c3e4efd4 (patch)
tree84b097752753fb8edbd03c3147e80c1bb7ccf588 /arch/xtensa/mm
parentd10fa7cf3dc0b38995a691c3f4e9f90acaaa05f2 (diff)
downloadop-kernel-dev-b6cee17b7d5999ae5f9ea51643dc6ea6c3e4efd4.zip
op-kernel-dev-b6cee17b7d5999ae5f9ea51643dc6ea6c3e4efd4.tar.gz
xtensa: nommu: don't build most of the cache flushing code
Most cache flushing code is only relevant for MMU. Don't build it for nommu configuration. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/mm')
-rw-r--r--arch/xtensa/mm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/mm/Makefile b/arch/xtensa/mm/Makefile
index f54f78e..e601e2f 100644
--- a/arch/xtensa/mm/Makefile
+++ b/arch/xtensa/mm/Makefile
@@ -2,6 +2,6 @@
# Makefile for the Linux/Xtensa-specific parts of the memory manager.
#
-obj-y := init.o cache.o misc.o
-obj-$(CONFIG_MMU) += fault.o mmu.o tlb.o
+obj-y := init.o misc.o
+obj-$(CONFIG_MMU) += cache.o fault.o mmu.o tlb.o
obj-$(CONFIG_HIGHMEM) += highmem.o
OpenPOWER on IntegriCloud