summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2011-03-01 10:31:54 +1000
committerBen Skeggs <[email protected]>2011-03-01 14:44:42 +1000
commitd6bdf1f6ae6f8d06db740ad75e9151ef275755b2 (patch)
tree034c18715f1b89e4f6fffd9b22659ba98609f4e6 /src/gallium/drivers/nouveau
parent2f30a5bdaad480118e23ac4243de3b4a11ba62a8 (diff)
nouveau: fix compiler complaint
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_mm.c6
-rw-r--r--src/gallium/drivers/nouveau/nouveau_mm.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_mm.c b/src/gallium/drivers/nouveau/nouveau_mm.c
index 1c4bb61af88..332b8dc02e3 100644
--- a/src/gallium/drivers/nouveau/nouveau_mm.c
+++ b/src/gallium/drivers/nouveau/nouveau_mm.c
@@ -222,6 +222,12 @@ nouveau_mm_free(struct nouveau_mm_allocation *alloc)
FREE(alloc);
}
+void
+nouveau_mm_free_work(void *data)
+{
+ nouveau_mm_free(data);
+}
+
struct nouveau_mman *
nouveau_mm_create(struct nouveau_device *dev, uint32_t domain,
uint32_t storage_type)
diff --git a/src/gallium/drivers/nouveau/nouveau_mm.h b/src/gallium/drivers/nouveau/nouveau_mm.h
index 23e50d4ae54..5b57c8ba4f2 100644
--- a/src/gallium/drivers/nouveau/nouveau_mm.h
+++ b/src/gallium/drivers/nouveau/nouveau_mm.h
@@ -26,4 +26,7 @@ nouveau_mm_allocate(struct nouveau_mman *, uint32_t size,
extern void
nouveau_mm_free(struct nouveau_mm_allocation *);
+extern void
+nouveau_mm_free_work(void *);
+
#endif // __NOUVEAU_MM_H__