mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
lib/dma-noop: Only build dma_noop_ops for s390 and m32r
Reduce the kernel size by only building dma_noop_ops for those architectures that actually use it. This was suggested by Christoph Hellwig. Signed-off-by: Bart Van Assche <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
1eec9e2bef
commit
7844572c63
4 changed files with 8 additions and 1 deletions
|
|
@ -395,6 +395,11 @@ config HAS_DMA
|
|||
depends on !NO_DMA
|
||||
default y
|
||||
|
||||
config DMA_NOOP_OPS
|
||||
bool
|
||||
depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
|
||||
default n
|
||||
|
||||
config CHECK_SIGNATURE
|
||||
bool
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue