From: Vitaly Andrianov Date: Mon, 14 May 2012 17:49:56 +0000 (-0400) Subject: ARM: dma-mapping: use PMD size for section unmap X-Git-Tag: sz_154~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b22124a7a7d0b0b9c18e933d29f9b9eca26ce2d2;p=pandora-kernel.git ARM: dma-mapping: use PMD size for section unmap The dma_contiguous_remap() function clears existing section maps using the wrong size (PGDIR_SIZE instead of PMD_SIZE). This is a bug which does not affect non-LPAE systems, where PGDIR_SIZE and PMD_SIZE are the same. On LPAE systems, however, this bug causes the kernel to hang at this point. This fix has been tested on both LPAE and non-LPAE kernel builds. Signed-off-by: Vitaly Andrianov Signed-off-by: Marek Szyprowski --- Reading git-diff-tree failed