diff options
author | Dave Airlie <airlied@redhat.com> | 2008-07-31 13:12:36 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-07-31 13:11:28 +1000 |
commit | 55761b2fe706f8f68ca3a8827b950fd01af1650b (patch) | |
tree | 2475c040590933a7f582ea95538e48816768bd49 /linux-core/drm_compat.h | |
parent | 9b8d71b5eb09857b07409731d3de182751f712a2 (diff) |
drm: add fault handler support so as to be more like possible upstream
(cherry picked from commit 10d5b037b85706037df89bf0275436797e4eb559)
Diffstat (limited to 'linux-core/drm_compat.h')
-rw-r--r-- | linux-core/drm_compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h index cfa4fc6d..19dc1f67 100644 --- a/linux-core/drm_compat.h +++ b/linux-core/drm_compat.h @@ -319,6 +319,9 @@ extern int drm_bo_map_bound(struct vm_area_struct *vma); /* fixme when functions are upstreamed - upstreamed for 2.6.23 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) #define DRM_IDR_COMPAT_FN +#define DRM_NO_FAULT +extern unsigned long drm_bo_vm_nopfn(struct vm_area_struct *vma, + unsigned long address); #endif #ifdef DRM_IDR_COMPAT_FN int idr_for_each(struct idr *idp, |