summaryrefslogtreecommitdiff
path: root/arch/arm/mach-highbank
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@linaro.org>2013-08-19 14:19:28 +0400
committerRob Herring <rob.herring@calxeda.com>2013-08-23 05:48:38 +0400
commit1c38b28980f15c5d217d6b36cd8159c2fbdfeb43 (patch)
tree6a074c8f7e6a658e4d7c4649b32f3b93927e57fd /arch/arm/mach-highbank
parent2c634946253d68039fef5a44295e4bc9c62163c8 (diff)
downloadlinux-1c38b28980f15c5d217d6b36cd8159c2fbdfeb43.tar.xz
DMA: fix AMBA PL08x compilation issue with 64bit DMA address type
When dma_addr_t is 64 bits long, compilation of the AMBA PL08x DMA driver breaks due to a missing 64bit%8bit modulo operation. Looking more closely the divisor in these operations can only be 1, 2 or 4, so the full featured '%' modulo operation is overkill and can be replaced with simple bit masking. Change from v1: Replace open-coded function with existing IS_ALIGNED macro and use a macro around that to avoid a line becoming too long. Signed-off-by: Andre Przywara <andre.przywara@linaro.org> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/arm/mach-highbank')
0 files changed, 0 insertions, 0 deletions