Merge branch 'akpm' (fixes from Andrew Morton)
[GitHub/exynos8895/android_kernel_samsung_universal8895.git] / include / asm-generic / pgtable.h
index 281870f564506ed63730ce463a3ddfe4870402a6..081ff8826bf6855630f1a7d5a3c51302d72b87c7 100644 (file)
@@ -249,6 +249,10 @@ static inline int pmd_same(pmd_t pmd_a, pmd_t pmd_b)
 #define pgprot_writecombine pgprot_noncached
 #endif
 
+#ifndef pgprot_device
+#define pgprot_device pgprot_noncached
+#endif
+
 /*
  * When walking page tables, get the address of the next boundary,
  * or the end address of the range if that comes earlier.  Although no