commit | 2f7dc6027522499582a520807cb9ffda589de47e | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Thu Dec 05 16:56:50 2013 +0000 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Fri Dec 06 17:21:52 2013 +0000 |
tree | a66a8bbd89cea0bb39e98638d0d805d72dd4a45d | |
parent | 85cc00eaa81dfa0f5bf8076c48f3ee2c2c4a77ba [diff] |
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 <catalin.marinas@arm.com>