summaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel/Makefile
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-29 10:53:30 +0100
committerChristoph Hellwig <hch@lst.de>2019-11-11 10:52:18 +0100
commit0f665b9e2a6d4cc963e6cd349d40320ed5281f95 (patch)
tree2a5c08bc905e69cc1219a3148373c1db60fcbde9 /arch/xtensa/kernel/Makefile
parent3acac065508f6cc60ac9d3e4b7c6cc37fd91d531 (diff)
xtensa: use the generic uncached segment support
Switch xtensa over to use the generic uncached support, and thus the generic implementations of dma_alloc_* and dma_alloc_*, which also gains support for mmaping DMA memory. The non-working nommu DMA support has been disabled, but could be re-enabled easily if platforms that actually have an uncached segment show up. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel/Makefile')
-rw-r--r--arch/xtensa/kernel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/Makefile b/arch/xtensa/kernel/Makefile
index 6f629027ac7d..d4082c6a121b 100644
--- a/arch/xtensa/kernel/Makefile
+++ b/arch/xtensa/kernel/Makefile
@@ -5,10 +5,11 @@
extra-y := head.o vmlinux.lds
-obj-y := align.o coprocessor.o entry.o irq.o pci-dma.o platform.o process.o \
+obj-y := align.o coprocessor.o entry.o irq.o platform.o process.o \
ptrace.o setup.o signal.o stacktrace.o syscall.o time.o traps.o \
vectors.o
+obj-$(CONFIG_MMU) += pci-dma.o
obj-$(CONFIG_PCI) += pci.o
obj-$(CONFIG_MODULES) += xtensa_ksyms.o module.o
obj-$(CONFIG_FUNCTION_TRACER) += mcount.o