diff options
| author | Dave Airlie <airlied@linux.ie> | 2004-05-30 23:34:23 +0000 |
|---|---|---|
| committer | Dave Airlie <airlied@linux.ie> | 2004-05-30 23:34:23 +0000 |
| commit | 412f9909c6127db1ab03716f74cc51c4ac3a603e (patch) | |
| tree | 8c9d4217e70750a06b8284f09fd60067225b4714 /linux/drm_vm.h | |
| parent | 43c244ebbad842d0ebf3756376bfc6ab1fd11b9f (diff) | |
fixes from kernel: Make users of page->count use the provided macros
Diffstat (limited to 'linux/drm_vm.h')
| -rw-r--r-- | linux/drm_vm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_vm.h b/linux/drm_vm.h index 5b975986..a495884d 100644 --- a/linux/drm_vm.h +++ b/linux/drm_vm.h @@ -103,7 +103,7 @@ static __inline__ struct page *DRM(do_vm_nopage)(struct vm_area_struct *vma, DRM_DEBUG("baddr = 0x%lx page = 0x%p, offset = 0x%lx, count=%d\n", baddr, __va(agpmem->memory->memory[offset]), offset, - atomic_read(&page->count)); + page_count(page)); return page; } |
