From 08faab27e5fbf12e53dc9d4bf38eda8da1a55007 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 11 Aug 2008 10:58:41 +1000 Subject: drm_vm: fix for build on 2.6.22 thanks to malc0 for pointing it out --- linux-core/drm_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drm_vm.c') 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) { -- cgit v1.2.3