summaryrefslogtreecommitdiff
path: root/linux-core/drm_compat.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-25 18:14:22 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-25 18:14:22 +0200
commit1d3cf107d20cb11ad07667622785ef8341ab9c2a (patch)
treeeb76bc874f7f077495799a527d6c9db0a5fa9387 /linux-core/drm_compat.h
parent4c03030b12bae28dad50d69bd271de632c43ff13 (diff)
Module protection map access is moving into mainline kernels.
Update drm_compat accordingly. (Reported by Dave Airlie)
Diffstat (limited to 'linux-core/drm_compat.h')
-rw-r--r--linux-core/drm_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index 80928319..779a7000 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -243,6 +243,6 @@ extern void drm_clear_vma(struct vm_area_struct *vma,
* flags. This is a functional interface to the kernel's protection map.
*/
-extern pgprot_t drm_prot_map(uint32_t flags);
+extern pgprot_t vm_get_page_prot(unsigned long vm_flags);
#endif