projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm: Fix broken use of _PAGE_NO_CACHE on powerpc
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
drm_memory.c
diff --git
a/drivers/gpu/drm/drm_memory.c
b/drivers/gpu/drm/drm_memory.c
index
87a8cb7
..
fc0ebd2
100644
(file)
--- a/
drivers/gpu/drm/drm_memory.c
+++ b/
drivers/gpu/drm/drm_memory.c
@@
-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