From: Catalin Marinas Date: Thu, 5 Dec 2013 16:56:50 +0000 (+0000) Subject: arm64: Fix memory shareability attribute for ioremap_wc/cache X-Git-Tag: v3.13-rc4~48^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f7dc6027522499582a520807cb9ffda589de47e;p=pandora-kernel.git arm64: Fix memory shareability attribute for ioremap_wc/cache Write-combine and cacheable mappings use Normal memory on arm64. On SMP systems, the pte needs the shareability bit which is set in pgprot_default. Use this for defining PROT_DEFAULT used by ioremap_wc and ioremap_cache (Device memory is shareable by default, does not need additional attributes). Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed