Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc: Do not redefine NEED_DMA_MAP_STATE

kernel/dma/Kconfig already defines NEED_DMA_MAP_STATE, just select it
from CONFIG_PPC using the same condition as an if guard.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[mpe: Move it under PPC]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Christoph Hellwig and committed by
Michael Ellerman
06832fc0 6e0495c2

+1 -3
+1 -3
arch/powerpc/Kconfig
··· 226 226 select IRQ_DOMAIN 227 227 select IRQ_FORCED_THREADING 228 228 select MODULES_USE_ELF_RELA 229 + select NEED_DMA_MAP_STATE if PPC64 || NOT_COHERENT_CACHE 229 230 select NEED_SG_DMA_LENGTH 230 231 select NO_BOOTMEM 231 232 select OF ··· 885 884 config ZONE_DMA 886 885 bool 887 886 default y 888 - 889 - config NEED_DMA_MAP_STATE 890 - def_bool (PPC64 || NOT_COHERENT_CACHE) 891 887 892 888 config GENERIC_ISA_DMA 893 889 bool