From 412f9909c6127db1ab03716f74cc51c4ac3a603e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 30 May 2004 23:34:23 +0000 Subject: fixes from kernel: Make users of page->count use the provided macros --- linux-core/drm_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drm_vm.c') diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c index 5b975986..a495884d 100644 --- a/linux-core/drm_vm.c +++ b/linux-core/drm_vm.c @@ -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; } -- cgit v1.2.3