summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2013-08-26 22:12:38 +0200
committerLucas Stach <dev@lynxeye.de>2014-05-09 21:13:11 +0200
commit5a1b56fc90f2ce91e6978d3e063ca8b2e8d74076 (patch)
tree77f27d1db7810064bbcbf91c7d77e5b4eabeff3b
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
downloadlinux-5a1b56fc90f2ce91e6978d3e063ca8b2e8d74076.tar.gz
linux-5a1b56fc90f2ce91e6978d3e063ca8b2e8d74076.tar.xz
drm/ttm: recognize ARM arch in ioprot handler
Signed-off-by: Lucas Stach <dev@lynxeye.de>
-rw-r--r--drivers/gpu/drm/ttm/ttm_bo_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c
index 1df856f78568..30e5d90cb7bc 100644
--- a/drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
@@ -500,7 +500,7 @@ pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp)
pgprot_val(tmp) |= _PAGE_GUARDED;
}
#endif
-#if defined(__ia64__)
+#if defined(__ia64__) || defined(__arm__)
if (caching_flags & TTM_PL_FLAG_WC)
tmp = pgprot_writecombine(tmp);
else