diff options
author | Dave Airlie <airlied@redhat.com> | 2008-08-11 10:58:41 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-08-11 10:58:41 +1000 |
commit | 08faab27e5fbf12e53dc9d4bf38eda8da1a55007 (patch) | |
tree | 31cad09f0b997ad7681a2f6ad1fddc0765cacde1 | |
parent | 280d415957c0af099c44aaecb69a06c68c86aebb (diff) |
drm_vm: fix for build on 2.6.22
thanks to malc0 for pointing it out
-rw-r--r-- | linux-core/drm_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c index 0d5242d3..d4d97a4d 100644 --- a/linux-core/drm_vm.c +++ b/linux-core/drm_vm.c @@ -698,7 +698,7 @@ EXPORT_SYMBOL(drm_mmap); * protected by the bo->mutex lock. */ -#ifdef DRM_FULL_MM_COMPAT +#if defined(DRM_FULL_MM_COMPAT) && !defined(DRM_NO_FAULT) static int drm_bo_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) { |