diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-16 17:22:28 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-08 13:02:42 +0200 |
commit | 15b28bbcd567a9199481ecfef39702b258f9baff (patch) | |
tree | db5428916f2f231b602bad88b202ffc7540afd16 /arch/sparc/kernel/Makefile | |
parent | 325ef1857fff8b2049322921e19421b6c5ad74e5 (diff) | |
download | linux-stable-15b28bbcd567a9199481ecfef39702b258f9baff.tar.gz linux-stable-15b28bbcd567a9199481ecfef39702b258f9baff.tar.bz2 linux-stable-15b28bbcd567a9199481ecfef39702b258f9baff.zip |
dma-debug: move initialization to common code
Most mainstream architectures are using 65536 entries, so lets stick to
that. If someone is really desperate to override it that can still be
done through <asm/dma-mapping.h>, but I'd rather see a really good
rationale for that.
dma_debug_init is now called as a core_initcall, which for many
architectures means much earlier, and provides dma-debug functionality
earlier in the boot process. This should be safe as it only relies
on the memory allocator already being available.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'arch/sparc/kernel/Makefile')
-rw-r--r-- | arch/sparc/kernel/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile index 76cb57750dda..84cfc5a428d6 100644 --- a/arch/sparc/kernel/Makefile +++ b/arch/sparc/kernel/Makefile @@ -74,8 +74,6 @@ obj-$(CONFIG_SPARC64) += pcr.o obj-$(CONFIG_SPARC64) += nmi.o obj-$(CONFIG_SPARC64_SMP) += cpumap.o -obj-y += dma.o - obj-$(CONFIG_PCIC_PCI) += pcic.o obj-$(CONFIG_LEON_PCI) += leon_pci.o obj-$(CONFIG_SPARC_GRPCI2)+= leon_pci_grpci2.o |