From: Santosh Shilimkar Date: Mon, 2 Dec 2013 19:29:12 +0000 (+0100) Subject: ARM: 7908/1: mm: Fix the arm_dma_limit calculation X-Git-Tag: v3.13-rc4~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=787b0d5c1ca7ff24feb6f92e4c7f4410ee7d81a8;p=pandora-kernel.git ARM: 7908/1: mm: Fix the arm_dma_limit calculation Current code is using PHYS_OFFSET to calculate the arm_dma_limit which will lead to wrong calculations in cases where PHYS_OFFSET is updated runtime. So fix the code by using __pv_phys_offset instead of PHYS_OFFSET. Cc: Catalin Marinas Cc: Nicolas Pitre Signed-off-by: Santosh Shilimkar Signed-off-by: Russell King --- Reading git-diff-tree failed