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
/
include
/
drm
/
drm_cache.h
diff --git
a/kernel/include/drm/drm_cache.h
b/kernel/include/drm/drm_cache.h
index
7bfb063
..
461a055
100644
(file)
--- a/
kernel/include/drm/drm_cache.h
+++ b/
kernel/include/drm/drm_cache.h
@@
-35,4
+35,13
@@
void drm_clflush_pages(struct page *pages[], unsigned long num_pages);
+static inline bool drm_arch_can_wc_memory(void)
+{
+#if defined(CONFIG_PPC) && !defined(CONFIG_NOT_COHERENT_CACHE)
+ return false;
+#else
+ return true;
+#endif
+}
+
#endif