summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-06-07 18:45:00 +1000
committerDave Airlie <airlied@linux.ie>2007-06-07 18:45:00 +1000
commit7426da75382cce157b873c228c783115fd66589f (patch)
tree3323c0bda7d7586c5d3ce02683a02ca4e0303770
parente22f428f5fa55400850951b32c6ed0e856bf836b (diff)
oops must fix this properly at some point
-rw-r--r--linux-core/drm_compat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-core/drm_compat.c b/linux-core/drm_compat.c
index 6c0cafc1..9ac5658c 100644
--- a/linux-core/drm_compat.c
+++ b/linux-core/drm_compat.c
@@ -185,7 +185,6 @@ static int drm_pte_is_clear(struct vm_area_struct *vma,
return ret;
}
-#if 0
static int vm_insert_pfn(struct vm_area_struct *vma, unsigned long addr,
unsigned long pfn)
{
@@ -196,7 +195,6 @@ static int vm_insert_pfn(struct vm_area_struct *vma, unsigned long addr,
ret = io_remap_pfn_range(vma, addr, pfn, PAGE_SIZE, vma->vm_page_prot);
return ret;
}
-#endif
static struct page *drm_bo_vm_fault(struct vm_area_struct *vma,
struct fault_data *data)