summaryrefslogtreecommitdiff
path: root/linux-core/drm_compat.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-02-18 17:59:40 +1100
committerDave Airlie <airlied@linux.ie>2007-02-18 17:59:40 +1100
commita253de2fcfa11abadd4697a9d89137adf3f35f78 (patch)
tree40b6c52b00e90dc6b3e3ed506e3b4bd03880e834 /linux-core/drm_compat.h
parent6d8ed5aedda27ec238aac3d69fb9dfadc82bfa9a (diff)
drm: remove last usage of VM_OFFSET
Diffstat (limited to 'linux-core/drm_compat.h')
-rw-r--r--linux-core/drm_compat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index 0dee3564..9692492d 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -97,8 +97,6 @@
#define __GFP_COMP 0
#endif
-#define VM_OFFSET(vma) ((vma)->vm_pgoff << PAGE_SHIFT)
-
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
static inline int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t pgprot)
{