drm/i915: Don't pass pitch to intel_compute_page_offset()
[deliverable/linux.git] / drivers / gpu / drm / drm_memory.c
index 87a8cb73366f258697e0001db3260dd93e19e294..fc0ebd273ef827d140993fda0ac8e2650c19632e 100644 (file)
@@ -44,7 +44,7 @@
 # include <asm/agp.h>
 #else
 # ifdef __powerpc__
-#  define PAGE_AGP     __pgprot(_PAGE_KERNEL | _PAGE_NO_CACHE)
+#  define PAGE_AGP     pgprot_noncached_wc(PAGE_KERNEL)
 # else
 #  define PAGE_AGP     PAGE_KERNEL
 # endif
This page took 0.025965 seconds and 5 git commands to generate.