aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_sman.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-13 21:35:15 -0400
committerDave Airlie <airlied@linux.ie>2006-09-21 15:32:32 -0400
commita1d0fcf5a1cf56ae4711c7e0f857832724a67e8b (patch)
tree2773f67ec366cecdf18de83a0df867ce7164fe93 /drivers/char/drm/drm_sman.c
parentc29b669caae4ed1630ef479e54bdde126a0378ec (diff)
drm: remove FALSE/TRUE that snuck in with simple memory manager changes.
Thanks to Andrew Morton for pointing these out, I've fixed a few his patch missed. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_sman.c')
-rw-r--r--drivers/char/drm/drm_sman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_sman.c b/drivers/char/drm/drm_sman.c
index baba91398911..b92f0ee74b39 100644
--- a/drivers/char/drm/drm_sman.c
+++ b/drivers/char/drm/drm_sman.c
@@ -91,7 +91,7 @@ static void *drm_sman_mm_allocate(void *private, unsigned long size,
91 drm_mm_t *mm = (drm_mm_t *) private; 91 drm_mm_t *mm = (drm_mm_t *) private;
92 drm_mm_node_t *tmp; 92 drm_mm_node_t *tmp;
93 93
94 tmp = drm_mm_search_free(mm, size, alignment, TRUE); 94 tmp = drm_mm_search_free(mm, size, alignment, 1);
95 if (!tmp) { 95 if (!tmp) {
96 return NULL; 96 return NULL;
97 } 97 }