aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm/ttm_bo_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo_util.c')
-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 2a4aa57779e7..2026060f03e0 100644
--- a/drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
@@ -472,7 +472,7 @@ pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp)
472 else 472 else
473 tmp = pgprot_noncached(tmp); 473 tmp = pgprot_noncached(tmp);
474#endif 474#endif
475#if defined(__sparc__) 475#if defined(__sparc__) || defined(__mips__)
476 if (!(caching_flags & TTM_PL_FLAG_CACHED)) 476 if (!(caching_flags & TTM_PL_FLAG_CACHED))
477 tmp = pgprot_noncached(tmp); 477 tmp = pgprot_noncached(tmp);
478#endif 478#endif