diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-06-10 12:48:35 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-06-10 12:48:35 +0000 |
commit | 373d67702c1fd6c6258ce03d3fb4fc167ff947cb (patch) | |
tree | 71912e3d12b0cdd0644ad1aecef5a7237a470ec1 /linux/drm_vm.h | |
parent | 0faa00ae648647b93202b1726864787e383a2ede (diff) |
A few changes for recent redhat.
Diffstat (limited to 'linux/drm_vm.h')
-rw-r--r-- | linux/drm_vm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drm_vm.h b/linux/drm_vm.h index a495884d..c661d203 100644 --- a/linux/drm_vm.h +++ b/linux/drm_vm.h @@ -101,9 +101,12 @@ static __inline__ struct page *DRM(do_vm_nopage)(struct vm_area_struct *vma, page = virt_to_page(__va(agpmem->memory->memory[offset])); get_page(page); +#if 0 + /* page_count() not defined everywhere */ DRM_DEBUG("baddr = 0x%lx page = 0x%p, offset = 0x%lx, count=%d\n", baddr, __va(agpmem->memory->memory[offset]), offset, page_count(page)); +#endif return page; } |