summaryrefslogtreecommitdiff
path: root/drivers/char/drm/drm_sman.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-08 21:03:28 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-08 21:03:28 +0300
commit0c0e8caf9fd6c9a49fb9fbdba14a8b7b4239adde (patch)
treec9b873f23b9d7d1fc7573788233104e0e501d269 /drivers/char/drm/drm_sman.c
parentb892afd1e60132a981b963929e352eabf3306ba2 (diff)
parent1545085a28f226b59c243f88b82ea25393b0d63f (diff)
downloadlinux-0c0e8caf9fd6c9a49fb9fbdba14a8b7b4239adde.tar.xz
Merge branch 'drm-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6: drm: Allow for 44 bit user-tokens (or drm_file offsets) drm/via: Disable AGP DMA for chips with the new 3D engine. drm: update core memory manager from git drm tree drm: remove drm_ioremap and drm_ioremapfree i810/i830: use drm_core_ioremap instead of drm_ioremap drm: use vmalloc_user instead of vmalloc_32 for DRM_SHM via: allow for npot texture pitch alignment via: add some new chipsets via: some PCI posting flushes
Diffstat (limited to 'drivers/char/drm/drm_sman.c')
-rw-r--r--drivers/char/drm/drm_sman.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/drm/drm_sman.c b/drivers/char/drm/drm_sman.c
index 19c81d2e13d0..e15db6d6bea9 100644
--- a/drivers/char/drm/drm_sman.c
+++ b/drivers/char/drm/drm_sman.c
@@ -101,10 +101,9 @@ static void *drm_sman_mm_allocate(void *private, unsigned long size,
static void drm_sman_mm_free(void *private, void *ref)
{
- drm_mm_t *mm = (drm_mm_t *) private;
drm_mm_node_t *node = (drm_mm_node_t *) ref;
- drm_mm_put_block(mm, node);
+ drm_mm_put_block(node);
}
static void drm_sman_mm_destroy(void *private)