Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
gpu
/
drm
/
ttm
/
ttm_bo_util.c
diff --git
a/kernel/drivers/gpu/drm/ttm/ttm_bo_util.c
b/kernel/drivers/gpu/drm/ttm/ttm_bo_util.c
index
882cccd
..
ac6fe40
100644
(file)
--- a/
kernel/drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/
kernel/drivers/gpu/drm/ttm/ttm_bo_util.c
@@
-490,7
+490,8
@@
pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp)
else if (boot_cpu_data.x86 > 3)
tmp = pgprot_noncached(tmp);
#endif
else if (boot_cpu_data.x86 > 3)
tmp = pgprot_noncached(tmp);
#endif
-#if defined(__ia64__) || defined(__arm__) || defined(__powerpc__)
+#if defined(__ia64__) || defined(__arm__) || defined(__aarch64__) || \
+ defined(__powerpc__)
if (caching_flags & TTM_PL_FLAG_WC)
tmp = pgprot_writecombine(tmp);
else
if (caching_flags & TTM_PL_FLAG_WC)
tmp = pgprot_writecombine(tmp);
else