From: Russell King Date: Wed, 23 Oct 2013 15:14:59 +0000 (+0100) Subject: ARM: dma-mapping: don't allow DMA mappings to be marked executable X-Git-Tag: v3.2.85~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d05fedab817c43171d355d3aad5a9281ff80a7ba;p=pandora-kernel.git ARM: dma-mapping: don't allow DMA mappings to be marked executable commit 0ea1ec713f04bdfac343c9702b21cd3a7c711826 upstream. DMA mapping permissions were being derived from pgprot_kernel directly without using PAGE_KERNEL. This causes them to be marked with executable permission, which is not what we want. Fix this. Signed-off-by: Russell King [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed