aboutsummaryrefslogtreecommitdiff
path: root/net/dccp/sysctl.c
diff options
context:
space:
mode:
authorCatalin Marinas2014-06-13 13:41:20 +0100
committerCatalin Marinas2014-06-18 12:40:56 +0100
commit2d5a5612bceda8edd25b29f363c4e2c6cda28bab (patch)
tree7b26f52f615553aea4e531d2109a3ca6e6ce3417 /net/dccp/sysctl.c
parent1712ef43af71b0a0498ad370f0829d6b85fa2dca (diff)
arm64: Limit the CMA buffer to 32-bit if ZONE_DMA
When the CMA buffer is allocated, it is too early to know whether devices will require ZONE_DMA memory. This patch limits the CMA buffer to (DMA_BIT_MASK(32) + 1) if CONFIG_ZONE_DMA is enabled. In addition, it computes the dma_to_phys(DMA_BIT_MASK(32)) before the increment (no current functional change). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'net/dccp/sysctl.c')
0 files changed, 0 insertions, 0 deletions