diff options
author | Dave Airlie <airlied@linux.ie> | 2007-01-01 11:30:38 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-01-01 11:30:38 +1100 |
commit | 2dcbf6a59918761cffb27e027b1235c551ed03dd (patch) | |
tree | c7e61174697f1430af6bd2871200cbbd9e5f467c /linux-core/drm_compat.h | |
parent | 87faf62fae711c8337793abaf0f529f2660245db (diff) |
make build against 2.6.20 hopefully
Diffstat (limited to 'linux-core/drm_compat.h')
-rw-r--r-- | linux-core/drm_compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h index ddc255d3..3cb5d202 100644 --- a/linux-core/drm_compat.h +++ b/linux-core/drm_compat.h @@ -158,7 +158,7 @@ static __inline__ void *kcalloc(size_t nmemb, size_t size, int flags) #include <linux/mm.h> #include <asm/page.h> -#if ((LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)) && \ +#if ((LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)) && \ (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15))) #define DRM_ODD_MM_COMPAT #endif @@ -208,7 +208,7 @@ extern struct page *drm_vm_ttm_fault(struct vm_area_struct *vma, #endif -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)) /* * Hopefully, real NOPAGE_RETRY functionality will be in 2.6.19. |