]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/dma-noop: Only build dma_noop_ops for s390 and m32r
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 20 Jan 2017 21:04:06 +0000 (13:04 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 17:23:35 +0000 (12:23 -0500)
commit7844572c633964c864d9f32dc3f2a8ffe5d70371
treea0402ba054805b019692ba5a1e865f6849569957
parent1eec9e2befd35270b19a91bb633db595dc55975e
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 <bart.vanassche@sandisk.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
arch/m32r/Kconfig
arch/s390/Kconfig
lib/Kconfig
lib/Makefile