commit | 860dd4424f344400b491b212ee4acb3a358ba9d9 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Nov 21 14:23:37 2017 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Nov 21 23:05:00 2017 -0500 |
tree | a4b687a035a30fc37dfd1e0ba0e216e471193faa | |
parent | 727535903bea924c4f73abb202c4b3e85fff0ca4 [diff] |
scsi: dma-mapping: always provide dma_get_cache_alignment Provide the dummy version of dma_get_cache_alignment that always returns 1 even if CONFIG_HAS_DMA is not set, so that drivers and subsystems can use it without ifdefs. Cc: stable@vger.kernel.org Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>