summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-17 19:52:34 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-17 19:52:34 +0200
commitf22f89e6b3c970a29197d3a53c170fb7d0340cbe (patch)
treee36c1e56ae728a57c2af09025a82786d944b6006 /linux-core/drm_stub.c
parentd515936ea7f98f6aaa9217699796beadef9d664b (diff)
Add vma list memory usage to memory accounting.
Use byte unit for /proc printout of memory usage for small sizes to be able to detect memory allocation bugs more easily.
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index 66310560..8413fb4f 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -56,8 +56,7 @@ struct proc_dir_entry *drm_proc_root;
drm_cache_t drm_cache =
{ .mm = NULL,
- .fence_object = NULL,
- .ref_object = NULL
+ .fence_object = NULL
};
static int drm_fill_in_dev(drm_device_t * dev, struct pci_dev *pdev,