From: Sonic Zhang Date: Thu, 4 Nov 2010 08:01:37 +0000 (+0000) Subject: Blackfin: no-mpu: fix masking of small uncached dma region X-Git-Tag: v2.6.38-rc1~421^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398834330cb07ba66fca5fb23a51075a67e4d4fa;p=pandora-kernel.git Blackfin: no-mpu: fix masking of small uncached dma region When using an uncached DMA region less than 1 MiB, we try to mask off the whole last 1 MiB for it. Unfortunately, this fails as we forgot to subtract one from the calculated mask, leading to the region still be marked as cacheable. Reported-by: Andrew Rook Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed